|
|||
|
|||
|
#include <m_sqlv2.h>
Inheritance diagram for SQLerror:


Public Member Functions | |
| SQLerror (SQLerrorNum i=SQL_NO_ERROR, const std::string &s="") | |
| Initialize an SQLerror. | |
| SQLerrorNum | Id () |
| Return the ID of the error. | |
| SQLerrorNum | Id (SQLerrorNum i) |
| Set the ID of an error. | |
| void | Str (const std::string &s) |
| Set the error string for an error. | |
| const char * | Str () |
| Return the error string for an error. | |
Private Attributes | |
| SQLerrorNum | id |
| The error id. | |
| std::string | str |
| The error string. | |
The error string varies from database software to database software and should be used to display informational error messages to users.
Definition at line 64 of file m_sqlv2.h.
|
||||||||||||
|
Initialize an SQLerror.
|
|
|
Set the ID of an error.
Definition at line 93 of file m_sqlv2.h. References id. |
|
|
Return the ID of the error.
Definition at line 84 of file m_sqlv2.h. References id. Referenced by SQLConn::DoConnectedPoll(), ModuleTestClient::OnRequest(), ModuleSQLOper::OnRequest(), ModuleSQLite3::OnRequest(), ModuleSQLAuth::OnRequest(), ModulePgSQL::OnRequest(), ModuleSQL::OnRequest(), and ModuleMsSQL::OnRequest(). |
|
|
Return the error string for an error.
Definition at line 109 of file m_sqlv2.h. References id, SQL_BAD_CONN, SQL_BAD_DBID, SQL_NO_ERROR, SQL_QREPLY_FAIL, SQL_QSEND_FAIL, and str. |
|
|
Set the error string for an error.
Definition at line 102 of file m_sqlv2.h. References str. Referenced by ModuleSQLAuth::CheckCredentials(), SQLConn::DoConnectedPoll(), ModuleTestClient::OnBackgroundTimer(), ModuleTestClient::OnRequest(), and ModuleSQLAuth::OnRequest(). |
|
|
The error id.
|
|
|
The error string.
Definition at line 71 of file m_sqlv2.h. Referenced by Str(). |