CSqliteException

Name

CSqliteException  -- Exception class for libsqlite3pp

Synopsis


#include <CSqliteException.h>
class CSqliteException : public std::exception
{
public:
    CSqliteException(int error) noexcept;
    CSqliteException(const CSqliteException& rhs) noexcept;
    
    // Methods required by the base class:
public:
    CSqliteException& operator=(const CSqliteException& rhs) noexcept;
    virtual const char* what()  const noexcept;
};
                    

DESCRIPTION

This class is an std::exception that is used to signal errors in SQLite3 calls. The error parameter in the constructor must be the status value from a failing SQLite3 API call. what will return a stringified, human readable version of that error code.