MySQL 9.1.0
Source Code Documentation
mysqlrouter::MySQLSession::Error Class Reference

#include <mysql_session.h>

Inheritance diagram for mysqlrouter::MySQLSession::Error:
[legend]

Public Member Functions

 Error (const char *error, unsigned int code, const std::string message="<not set>")
 
 Error (const std::string &error, unsigned int code, const std::string &message="<not set>")
 
unsigned int code () const
 
std::string message () const
 

Private Attributes

const unsigned int code_
 
const std::string message_
 

Constructor & Destructor Documentation

◆ Error() [1/2]

mysqlrouter::MySQLSession::Error::Error ( const char *  error,
unsigned int  code,
const std::string  message = "<not set>" 
)
inline

◆ Error() [2/2]

mysqlrouter::MySQLSession::Error::Error ( const std::string &  error,
unsigned int  code,
const std::string &  message = "<not set>" 
)
inline

Member Function Documentation

◆ code()

unsigned int mysqlrouter::MySQLSession::Error::code ( ) const
inline

◆ message()

std::string mysqlrouter::MySQLSession::Error::message ( ) const
inline

Member Data Documentation

◆ code_

const unsigned int mysqlrouter::MySQLSession::Error::code_
private

◆ message_

const std::string mysqlrouter::MySQLSession::Error::message_
private

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