Zserio C++ runtime library  1.0.2
Built for Zserio 2.14.1
zserio::SqliteErrorCode Class Reference

#include <SqliteException.h>

Public Member Functions

 SqliteErrorCode (int sqliteCode)
 
const char * getErrorString () const
 

Detailed Description

Wrapper class to work with SQLite error code.

Definition at line 12 of file SqliteException.h.

Constructor & Destructor Documentation

◆ SqliteErrorCode()

zserio::SqliteErrorCode::SqliteErrorCode ( int  sqliteCode)
inlineexplicit

Constructor.

Parameters
sqliteCodeSQLite error code.

Definition at line 20 of file SqliteException.h.

Member Function Documentation

◆ getErrorString()

const char* zserio::SqliteErrorCode::getErrorString ( ) const
inline

Gets SQLite error string appropriate to the error code.

Returns
English language text that describes the error code. Memory to hold the error message string is managed by SQLite.

Definition at line 30 of file SqliteException.h.


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