atobase  3.2.0
ATOMAS atobase
Error codes

Use ato_err_inner() to retrieve nested errors and their details. More...

Macros

#define ATO_ERR_OK   0
 No error.
 
#define ATO_ERR_MIN   11000
 The mimimum error number.
 
#define ATO_ERR_UNKNOWN   ATO_ERR_MIN
 Unknown error - catch-all or unanticipated error not covered by other error codes.
 
#define ATO_ERR_CFGNOMGR   (ATO_ERR_MIN+1)
 Deprecated. More...
 
#define ATO_ERR_MEMORY   (ATO_ERR_MIN+2)
 Memory allocaton error - currently this results in an assert.
 
#define ATO_ERR_CFGNOTFOUND   (ATO_ERR_MIN+3)
 Configuration setting not found.
 
#define ATO_ERR_INIT   (ATO_ERR_MIN+4)
 Failing to initialise library.
 
#define ATO_ERR_VERSION   (ATO_ERR_MIN+5)
 Version mismatch between client and library.
 
#define ATO_ERR_VERSION_DEP   (ATO_ERR_MIN+6)
 Version mismatch with dependant library.
 
#define ATO_ERR_B64   (ATO_ERR_MIN+7)
 Failed to decode from or encode to base64.
 
#define ATO_ERR_NET   (ATO_ERR_MIN+8)
 Network communication error.
 
#define ATO_ERR_FILEOPEN   (ATO_ERR_MIN+9)
 Cannot open file.
 
#define ATO_ERR_FILESTAT   (ATO_ERR_MIN+10)
 Cannot determine file size.
 
#define ATO_ERR_FILEREAD   (ATO_ERR_MIN+11)
 Cannot read file.
 
#define ATO_ERR_FILEWRITE   (ATO_ERR_MIN+12)
 Cannot write file.
 
#define ATO_ERR_P7   (ATO_ERR_MIN+13)
 Failed to access P7 (certificate).
 
#define ATO_ERR_P8   (ATO_ERR_MIN+14)
 Failed to access P8 (private key).
 
#define ATO_ERR_DER   (ATO_ERR_MIN+15)
 Failed to DER encode value.
 
#define ATO_ERR_DUPLICATE_ERRDEF   (ATO_ERR_MIN+16)
 Internal/SDK error - duplicate error definition entry detected.
 
#define ATO_ERR_DUPLICATE_ERRHANDLER   (ATO_ERR_MIN+17)
 Failed to add error handler for SDK - possible duplicate.
 
#define ATO_ERR_XMLPARSE   (ATO_ERR_MIN+18)
 Invalid XML.
 
#define ATO_ERR_XMLROOT   (ATO_ERR_MIN+19)
 Failed to find or load root node.
 
#define ATO_ERR_CFGDUPLICATE   (ATO_ERR_MIN+20)
 Possible duplicate confuration entry.
 
#define ATO_ERR_XMLNODENOTFOUND   (ATO_ERR_MIN+21)
 Failed to find or load expected XML node.
 
#define ATO_ERR_NET_TIMEOUT   (ATO_ERR_MIN+22)
 Network timeout connected to remote services.
 
#define ATO_ERR_XML   (ATO_ERR_MIN+23)
 Error processing XML.
 
#define ATO_ERR_NET_SOAP   (ATO_ERR_MIN+24)
 Network SOAP error returned by remote client.
 
#define ATO_ERR_HASH   (ATO_ERR_MIN+25)
 Failed to generate crytographic hash.
 
#define ATO_ERR_XMLXPCONTEXT   (ATO_ERR_MIN+26)
 Failed to set XML Xpath context.
 
#define ATO_ERR_INVALIDSOFTWAREINFO   (ATO_ERR_MIN+27)
 Invalid or missing Software Info.
 
#define ATO_ERR_CRYPTO   (ATO_ERR_MIN+28)
 General error from crypto routines - see message.
 
#define ATO_ERR_SDK_EXPIRED   (ATO_ERR_MIN+29)
 SDK expiry date has been reached; please get an updated SDK.
 
#define ATO_ERR_INVALID_ARGS   (ATO_ERR_MIN+30)
 Usually because of NULL arguments.
 
#define ATO_ERR_MAX   (ATO_ERR_MIN+300)
 The maximum error number.
 

Detailed Description

Use ato_err_inner() to retrieve nested errors and their details.

For SOAP related errors see ato_ErrSoap.

Macro Definition Documentation

◆ ATO_ERR_CFGNOMGR

#define ATO_ERR_CFGNOMGR   (ATO_ERR_MIN+1)

Deprecated.