error

error

Functions

Types and Values

typedef ErrorCode

Description

Functions

error_get ()

String const *
error_get (ErrorCode *code);

error_get_code ()

ErrorCode
error_get_code (void);

error_set ()

void
error_set (String const *format,
           ...);

error_setv ()

void
error_setv (String const *format,
            va_list ap);

error_set_code ()

ErrorCode
error_set_code (ErrorCode code,
                String const *format,
                ...);

error_set_codev ()

ErrorCode
error_set_codev (ErrorCode code,
                 String const *format,
                 va_list ap);

error_set_print ()

ErrorCode
error_set_print (String const *program,
                 ErrorCode code,
                 String const *format,
                 ...);

error_set_printv ()

ErrorCode
error_set_printv (String const *program,
                  ErrorCode code,
                  String const *format,
                  va_list ap);

error_print ()

ErrorCode
error_print (String const *program);

Types and Values

ErrorCode

typedef int ErrorCode;