MySQL 9.1.0
Source Code Documentation
|
Class representing an error. More...
#include <error.h>
Public Member Functions | |
Error (std::uint32_t error_code, const char *sqlstate, error_type type) | |
const char * | sqlstate () |
Return a sqlstate for an error. More... | |
std::uint32_t | error_code () |
Return an error code. More... | |
error_type | type () |
Return an error type. More... | |
Private Attributes | |
std::uint32_t | m_error_code |
error_type | m_type |
char | m_sqlstate [SQLSTATE_LENGTH+1] |
Class representing an error.
Contains following information
If an error type value is
|
inline |
|
inline |
Return an error code.
Error | code |
|
inline |
Return a sqlstate for an error.
SQLSTATE | string |
|
inline |
Return an error type.
Error | type (ERR_ERRNO or ERR_SQLSTATE) |
|
private |
|
private |
|
private |