20class PT_DB_API
DbError :
public std::runtime_error
25 explicit DbError(
const std::string& what);
104 std::
string _statement;
~AccessDenied()
Destructor.
AccessDenied(const std::string &what)
Constructs the error with message what.
~ConnectionError()
Destructor.
ConnectionError(const std::string &what)
Constructs the error with message what.
ConstraintMismatch(const std::string &what, const std::string &statement)
Constructs the error with what and the failing statement.
~ConstraintMismatch()
Destructor.
DbError(const std::string &what)
Constructs the error with message what.
~InvalidConnection()
Destructor.
InvalidConnection(const std::string &what)
Constructs the error with message what.
~InvalidQuery()
Destructor.
InvalidQuery(const std::string &what, const std::string &statement)
Constructs the error with what and the failing statement.
const std::string & statement() const
Returns the SQL statement that caused the error.
~QueryFailed()
Destructor.
QueryFailed(const std::string &what, const std::string &statement)
Constructs the error with what and the failing statement.
TypeMismatch(const std::string &what, const std::string &statement)
Constructs the error with what and the failing statement.
~TypeMismatch()
Destructor.
Portable SQL database access.
Core module.
Definition Allocator.h:33