libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
#include <gimbal_error.h>
Data Fields | |
char | message [128] |
GblSourceLocation | srcLocation |
const GblErrorDomain * | pDomain |
GblEnum | code |
Low-level error structure.
GblError is a low-level error structure which represents a particular error code, a message, a source location, and a "domain" for the error, which is what is used to distinguish different categories or enum codes.
GblError uses thread-local storage so that every thread has its own unique pending error, which can be assigned and manipulated independently.
Definition at line 48 of file gimbal_error.h.
char GblError::message[128] |
Custom detailed error string.
Definition at line 49 of file gimbal_error.h.
GblSourceLocation GblError::srcLocation |
C/C++ source code location.
Definition at line 50 of file gimbal_error.h.
const GblErrorDomain* GblError::pDomain |
Pointer to the code's domain.
Definition at line 51 of file gimbal_error.h.
GblEnum GblError::code |
Actual raw error code returned.
Definition at line 52 of file gimbal_error.h.