libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
GblErrorDomain Struct Reference

#include <gimbal_error.h>

Data Fields

GblQuark name
 
const char *(* pFnCodeString )(GblEnum code)
 

Detailed Description

Defines a GblError category.

GblErrorDomain is a user-definable structure which represents a grouping of error codes. It provides both a domain name and a method for converting an error code to its string representation.

See also
GblError

Definition at line 32 of file gimbal_error.h.

Field Documentation

◆ name

GblQuark GblErrorDomain::name

Name of the error domain or category.

Definition at line 33 of file gimbal_error.h.

◆ pFnCodeString

const char *(* GblErrorDomain::pFnCodeString) (GblEnum code)

Returns a string describing an error code.

Definition at line 34 of file gimbal_error.h.


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