Public Member Functions | Public Attributes

ASql::Error Struct Reference

SQL Error. More...

#include <asql.hpp>

Inheritance diagram for ASql::Error:
ASql::MySQL::Error

List of all members.

Public Member Functions

 Error (const char *msg_, const int erno_)
 Error ()
const char * what () const throw ()
 Error (const Error &e)

Public Attributes

int erno
 Associated error number.
const char * msg
 Pointer to string data explaining error.

Detailed Description

SQL Error.

Definition at line 42 of file asql.hpp.


Constructor & Destructor Documentation

ASql::Error::Error ( const char *  msg_,
const int  erno_ 
) [inline]
Parameters:
[in]msg_Pointer to string explaining error.
[in]erno_Associated error number.

Definition at line 56 of file asql.hpp.

ASql::Error::Error (  ) [inline]

Definition at line 57 of file asql.hpp.

ASql::Error::Error ( const Error e ) [inline]

Definition at line 60 of file asql.hpp.


Member Function Documentation

const char* ASql::Error::what (  ) const throw () [inline]

Definition at line 58 of file asql.hpp.

References msg.


Member Data Documentation

Associated error number.

Definition at line 47 of file asql.hpp.

const char* ASql::Error::msg

Pointer to string data explaining error.

Definition at line 51 of file asql.hpp.

Referenced by what().


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