atostm  3.2.0
ATOMAS atostm
Error handling

This section is under contruction.

This section is under contruction.

ATOSTM uses the error handling mechanism in ATOBASE.

For iterating errors see Iterating the error "stack".

ATOSTM API methods which return errcodes will always return an ATO_STM_ERR_.. code. For details on errcodes see Error codes.

Top level errcodes can be checked using:

switch (errcode) {
printf("STM General error: ");
break;
printf("STM Sender error: ");
break;
printf("STM Receiver error: ");
break;
printf("STM Remote Service not available: ");
break;
printf("STM Network error: ");
break;
printf("STM Remote Service timeout: ");
break;
}
#define ATO_STM_ERR_NETRECEIVER
A SOAP fault generated by the receiver, not including service unavailable.
Definition: types.h:57
#define ATO_STM_ERR_NETCOMMS
A general network error has occurred, not including timeouts.
Definition: types.h:59
#define ATO_STM_ERR_GENERAL
For errors not specified below.
Definition: types.h:55
#define ATO_STM_ERR_NETUNAVAILABLE
A SOAP fault where the remote service is unavailable.
Definition: types.h:58
#define ATO_STM_ERR_NETTIMEOUT
A network time has occured trying to connect to a remote service.
Definition: types.h:60
#define ATO_STM_ERR_NETSENDER
A SOAP fault generated by the sender, not including service unavailable.
Definition: types.h:56