#include "types.h"
Go to the source code of this file.
Data Structures | |
struct | ArgxcErrorPair |
Functions | |
ArgxcError | argxcCreateErrorSimple (const char *msg, const char *help) |
int | argxcGetErrorCode (const ArgxcError *error) |
const char * | argxcGetErrorHelp (const ArgxcError *error) |
const char * | argxcGetErrorMessage (const ArgxcError *error) |
ArgxcErrorPair | argxcGetErrorPair (const ArgxcError *error) |
ArgxcError argxcCreateErrorSimple | ( | const char * | msg, |
const char * | help ) |
Definition at line 19 of file ARGXAddError.c.
References ArgxcError::code, ArgxcError::error, ArgxcError::help, stringDuplicate(), and ArgxcError::type.
int argxcGetErrorCode | ( | const ArgxcError * | error | ) |
Definition at line 41 of file ARGXAddError.c.
References ArgxcError::code.
const char * argxcGetErrorHelp | ( | const ArgxcError * | error | ) |
Definition at line 36 of file ARGXAddError.c.
References ArgxcError::help.
const char * argxcGetErrorMessage | ( | const ArgxcError * | error | ) |
Definition at line 31 of file ARGXAddError.c.
References ArgxcError::error.
ArgxcErrorPair argxcGetErrorPair | ( | const ArgxcError * | error | ) |
Definition at line 46 of file ARGXAddError.c.
References ArgxcError::error, ArgxcErrorPair::error, ArgxcError::help, and ArgxcErrorPair::help.