The Battle for Wesnoth  1.15.5+dev
Public Member Functions | Protected Attributes | List of all members
mariadb::last_error Class Reference

#include <last_error.hpp>

Inheritance diagram for mariadb::last_error:
Inheritance graph

Public Member Functions

 last_error ()
 
u32 error_no () const
 
const std::string & error () const
 

Protected Attributes

u32 m_last_error_no
 
std::string m_last_error
 

Detailed Description

Definition at line 17 of file last_error.hpp.

Constructor & Destructor Documentation

◆ last_error()

last_error::last_error ( )

Definition at line 17 of file last_error.cpp.

Member Function Documentation

◆ error()

const std::string & last_error::error ( ) const

Definition at line 24 of file last_error.cpp.

References m_last_error.

◆ error_no()

u32 last_error::error_no ( ) const

Definition at line 22 of file last_error.cpp.

References m_last_error_no.

Member Data Documentation

◆ m_last_error

std::string mariadb::last_error::m_last_error
protected

Definition at line 32 of file last_error.hpp.

Referenced by error().

◆ m_last_error_no

u32 mariadb::last_error::m_last_error_no
protected

Definition at line 31 of file last_error.hpp.

Referenced by error_no().


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