userver: storages::sqlite::SQLiteException Class Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
storages::sqlite::SQLiteException Class Reference

#include <userver/storages/sqlite/exceptions.hpp>

Detailed Description

Base class for all uSQLite driver exceptions.

Definition at line 13 of file exceptions.hpp.

+ Inheritance diagram for storages::sqlite::SQLiteException:

Public Member Functions

 SQLiteException (const char *error_message, int error_code, int extended_error_code)
 
 SQLiteException (const std::string &error_message, int error_code, int extended_error_code)
 
 SQLiteException (const char *error_message, int error_code)
 
 SQLiteException (const std::string &error_message, int error_code)
 
 SQLiteException (const char *error_message)
 
 SQLiteException (const std::string &error_message)
 
int getErrorCode () const noexcept
 Return the result code (if any, otherwise -1).
 
int getExtendedErrorCode () const noexcept
 Return the extended numeric result code (if any, otherwise -1).
 
const char * getErrorStr () const noexcept
 Return a string, solely based on the error code.
 

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