gwenhywfar  4.14.0
Macros
error.h File Reference
#include <gwenhywfar/gwenhywfarapi.h>
#include <gwenhywfar/types.h>

Go to the source code of this file.

Macros

#define GWEN_ERROR_ABORTED   (-2)
 
#define GWEN_ERROR_ALREADY_REGISTERED   (-58)
 
#define GWEN_ERROR_BAD_ADDRESS   (-41)
 
#define GWEN_ERROR_BAD_ADDRESS_FAMILY   (-48)
 
#define GWEN_ERROR_BAD_DATA   (-101)
 
#define GWEN_ERROR_BAD_NAME   (-69)
 
#define GWEN_ERROR_BAD_PIN   (-70)
 
#define GWEN_ERROR_BAD_PIN_0_LEFT   (-71)
 
#define GWEN_ERROR_BAD_PIN_1_LEFT   (-72)
 
#define GWEN_ERROR_BAD_PIN_2_LEFT   (-73)
 
#define GWEN_ERROR_BAD_SIZE   (-60)
 
#define GWEN_ERROR_BAD_SOCKETTYPE   (-32)
 
#define GWEN_ERROR_BROKEN_PIPE   (-39)
 
#define GWEN_ERROR_BUFFER_OVERFLOW   (-42)
 
#define GWEN_ERROR_CLOSE   (-54)
 
#define GWEN_ERROR_CONN_REFUSED   (-106)
 
#define GWEN_ERROR_COULD_NOT_LOAD   (-49)
 
#define GWEN_ERROR_COULD_NOT_RESOLVE   (-50)
 
#define GWEN_ERROR_DECRYPT   (-63)
 
#define GWEN_ERROR_DEFAULT_VALUE   (-76)
 
#define GWEN_ERROR_ENCRYPT   (-62)
 
#define GWEN_ERROR_EOF   (-57)
 
#define GWEN_ERROR_FOUND   (-102)
 
#define GWEN_ERROR_GENERIC   (-1)
 
#define GWEN_ERROR_HOST_NOT_FOUND   (-43)
 
#define GWEN_ERROR_IN_PROGRESS   (-35)
 
#define GWEN_ERROR_INTERNAL   (-104)
 
#define GWEN_ERROR_INTERRUPTED   (-37)
 
#define GWEN_ERROR_INVALID   (-6)
 
#define GWEN_ERROR_IO   (-103)
 
#define GWEN_ERROR_LOCK   (-109)
 
#define GWEN_ERROR_MEMORY_FULL   (-40)
 
#define GWEN_ERROR_NET_UNREACHABLE   (-107)
 
#define GWEN_ERROR_NO_ADDRESS   (-44)
 
#define GWEN_ERROR_NO_DATA   (-55)
 
#define GWEN_ERROR_NO_KEY   (-74)
 
#define GWEN_ERROR_NO_RECOVERY   (-45)
 
#define GWEN_ERROR_NOT_AVAILABLE   (-3)
 
#define GWEN_ERROR_NOT_CONNECTED   (-100)
 
#define GWEN_ERROR_NOT_FOUND   (-51)
 
#define GWEN_ERROR_NOT_IMPLEMENTED   (-67)
 
#define GWEN_ERROR_NOT_OPEN   (-33)
 
#define GWEN_ERROR_NOT_REGISTERED   (-59)
 
#define GWEN_ERROR_NOT_SUPPORTED   (-68)
 
#define GWEN_ERROR_OPEN   (-5)
 
#define GWEN_ERROR_PARTIAL   (-56)
 
#define GWEN_ERROR_PERMISSIONS   (-105)
 
#define GWEN_ERROR_READ   (-52)
 
#define GWEN_ERROR_REMOVED   (-75)
 
#define GWEN_ERROR_SIGN   (-64)
 
#define GWEN_ERROR_SSL   (-66)
 
#define GWEN_ERROR_SSL_SECURITY   (-108)
 
#define GWEN_ERROR_STARTUP   (-36)
 
#define GWEN_ERROR_TIMEOUT   (-34)
 
#define GWEN_ERROR_TRY_AGAIN   (-46)
 
#define GWEN_ERROR_UNKNOWN_DNS_ERROR   (-47)
 
#define GWEN_ERROR_USER_ABORTED   (-4)
 
#define GWEN_ERROR_USEROFFSET   (-1000)
 
#define GWEN_ERROR_VERIFY   (-65)
 
#define GWEN_ERROR_WRITE   (-53)
 
#define GWEN_SUCCESS   0
 

Functions

Verbosity

Composing error messages.

GWENHYWFAR_API int GWEN_Error_ToString (int c, char *buffer, int bsize)
 
GWENHYWFAR_API const char * GWEN_Error_SimpleToString (int i)
 Returns a (very) short string describing the given GWEN error code, or "Unknown error" for unknown codes. More...