VSQLite++ 0.3
Loading...
Searching...
No Matches
sqlite::v2::database_system_error Struct Reference

Wraps system-level failures (e.g., file I/O) that bubble up from SQLite APIs. More...

#include <database_exception.hpp>

Inheritance diagram for sqlite::v2::database_system_error:
Inheritance graph
Collaboration diagram for sqlite::v2::database_system_error:
Collaboration graph

Public Member Functions

 database_system_error (std::string const &msg, int error_code)
int error_code () const
Public Member Functions inherited from sqlite::v2::database_exception
 database_exception (std::string const &msg)

Protected Attributes

int error_code_

Detailed Description

Wraps system-level failures (e.g., file I/O) that bubble up from SQLite APIs.

Definition at line 115 of file database_exception.hpp.

Constructor & Destructor Documentation

◆ database_system_error()

sqlite::v2::database_system_error::database_system_error ( std::string const & msg,
int error_code )
inline

Definition at line 116 of file database_exception.hpp.

References sqlite::v2::database_exception::database_exception(), error_code(), and error_code_.

Here is the call graph for this function:

Member Function Documentation

◆ error_code()

int sqlite::v2::database_system_error::error_code ( ) const
inline

Definition at line 119 of file database_exception.hpp.

References error_code_.

Referenced by database_system_error().

Member Data Documentation

◆ error_code_

int sqlite::v2::database_system_error::error_code_
protected

Definition at line 124 of file database_exception.hpp.

Referenced by database_system_error(), and error_code().


The documentation for this struct was generated from the following file: