Exception class for SQLite errors.
More...
#include <Utils.hpp>
Exception class for SQLite errors.
Definition at line 27 of file Utils.hpp.
◆ sqlite_exception()
sqlite_containers::sqlite_exception::sqlite_exception |
( |
const std::string & | message, |
|
|
const int & | error_code = -1 ) |
|
inlineexplicit |
Constructs a new sqlite_exception with the given message. param message The error message. param errorCode The SQLite error code.
Definition at line 32 of file Utils.hpp.
◆ error_code()
int sqlite_containers::sqlite_exception::error_code |
( |
| ) |
const |
|
inlinenoexcept |
brief Returns the SQLite error code associated with this exception. return The SQLite error code.
Definition at line 37 of file Utils.hpp.
◆ m_error_code
int sqlite_containers::sqlite_exception::m_error_code |
|
private |
The documentation for this class was generated from the following file: