![]() |
iberbox
2.1.2
|
The error class. More...
Public Types | |
| enum | ErrorType { E_SUCCESS = 0, E_NOTFOUND = 1, E_FORBIDDEN = 2, E_SESSION = 3, E_CRYPTO = 4, E_PARAMETERS = 5, E_EXPIRED = 6, E_DUPLICATE = 7, E_BUSY = 8, E_UNKNOWN = 9, E_FAST = 10, E_TEMPORARY = 11, E_MANY = 12, E_QUOTA = 13, E_TAKEDOWN = 14, E_RANGE = 15, E_CANCELLED = 16, E_LOOP = 17, E_IO = 18, E_INVOICING = 19, E_COUPON = 20, E_INCOMPLETE = 21, LAST } |
| The error type. More... | |
Public Member Functions | |
| Error (int type=E_SUCCESS) | |
| const char * | getName () const |
| Gets the Name object. More... | |
| const std::string | getNameString () const |
| Gets the Name String object. More... | |
| int | getType () const |
| Gets the type of the error. More... | |
| virtual | ~Error () |
Static Public Member Functions | |
| static const char * | getTypeName (int type) |
| Gets the event type name. More... | |
| static const std::string | getTypeNameString (unsigned type) |
| Gets the event type name. More... | |
The error class.
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
Gets the type of the error.
The valid values are described in Error::ErrorType.
|
inlinestatic |
Gets the event type name.
type valid values are described in EventType enum
| type | The event type. |
References LAST.
Referenced by getName(), and getTypeNameString().
|
inlinestatic |
Gets the event type name.
type valid values are described in EventType enum
| type | The event type. |
References getTypeName().
Referenced by getNameString().