# Savan_error

## Defines
#define | SAVAN_FAULT_DMRU_CODE "s12:Sender"
#define | SAVAN_FAULT_DMRU_SUB_CODE "wse:DeliveryModeRequestedUnavailable."
#define | SAVAN_FAULT_DMRU_DETAIL ""
#define | SAVAN_FAULT_IET_CODE "s12:Sender"
#define | SAVAN_FAULT_IET_SUB_CODE "wse:InvalidExpirationTime"
#define | SAVAN_FAULT_IET_DETAIL ""
#define | SAVAN_FAULT_UET_CODE "s12:Sender"
#define | SAVAN_FAULT_UET_SUB_CODE "wse:UnsupportedExpirationTime"
#define | SAVAN_FAULT_UET_DETAIL ""
#define | SAVAN_FAULT_FNS_CODE "s12:Sender"
#define | SAVAN_FAULT_FNS_SUB_CODE "wse:FilteringNotSupported"
#define | SAVAN_FAULT_FNS_DETAIL "Server doesn't support filtering"
#define | SAVAN_FAULT_FRU_CODE "s12:Sender"
#define | SAVAN_FAULT_FRU_SUB_CODE "wse:FilteringRequestedUnavailable"
#define | SAVAN_FAULT_FRU_DETAIL "Server does not support the dialect"
#define | SAVAN_FAULT_IM_CODE "s12:Sender"
#define | SAVAN_FAULT_IM_SUB_CODE "wse:InvalidMessages"
#define | SAVAN_FAULT_IM_DETAIL "Invalid message."
#define | SAVAN_FAULT_ESUP_CODE "s12:Receiver"
#define | SAVAN_FAULT_ESUP_SUB_CODE "wse:EventSourceUnableToProcess"
#define | SAVAN_FAULT_ESUP_DETAIL ""
#define | SAVAN_FAULT_UTR_CODE "s12:Receiver"
#define | SAVAN_FAULT_UTR_SUB_CODE "wse:UnableToRenew"
#define | SAVAN_FAULT_UTR_DETAIL1 "Could not find the subscriber"
#define | SAVAN_FAULT_UTR_DETAIL2 "Subscription can not be renewed"
## Typedefs
typedef enum savan_error_codes | savan_error_codes_t
| Savan error codes.
## Enumerations
enum | savan_error_codes { SAVAN_ERROR_NONE = SAVAN_ERROR_CODES_START, SAVAN_ERROR_SOAP_ACTION_NULL, SAVAN_ERROR_FAILED_TO_CREATE_SUBSCRIBER, SAVAN_ERROR_UNHANDLED_MSG_TYPE, SAVAN_ERROR_FAILED_TO_BUILD_SOAP_ENV, SAVAN_ERROR_REQUESTED_DELIVERY_MODE_NOT_SUPPORTED, SAVAN_ERROR_EXPIRATION_TIME_REQUESTED_IS_INVALID, SAVAN_ERROR_ONLY_EXPIRATION_DURATIONS_ARE_SUPPORTED, SAVAN_ERROR_FILTERING_IS_NOT_SUPPORTED, SAVAN_ERROR_REQUESTED_FILTER_DIALECT_IS_NOT_SUPPORTED, SAVAN_ERROR_MESSAGE_IS_NOT_VALID_AND_CANNOT_BE_PROCESSED, SAVAN_ERROR_MESSAGE_CANNOT_BE_PROCESSED_BY_EVENT_SOURCE, SAVAN_ERROR_UNABLE_TO_RENEW, SAVAN_ERROR_SUBSCRIBER_NOT_FOUND, SAVAN_ERROR_COULD_NOT_POPULATE_TOPIC, SAVAN_ERROR_PARSING_SUBSCRIBER_NODE_FAILED, SAVAN_ERROR_APPLYING_FILTER_FAILED, SAVAN_ERROR_STORAGE_MANAGER_CREATION_FAILED, SAVAN_ERROR_SUBSCRIBER_RETRIEVE_ERROR, SAVAN_ERROR_SUBSCRIBER_REMOVE_ERROR, SAVAN_ERROR_SUBSCRIBER_UPDATE_ERROR, SAVAN_ERROR_SUBSCRIBER_INSERT_ERROR, SAVAN_ERROR_TOPIC_INSERT_ERROR, SAVAN_ERROR_DATABASE_TABLE_CREATION_ERROR, SAVAN_ERROR_DATABASE_CREATION_ERROR, SAVAN_ERROR_FILTER_CREATION_FAILED, SAVAN_ERROR_FILTER_MODULE_COULD_NOT_BE_RETRIEVED, SAVAN_ERROR_LAST }
| Savan error codes. More...
## Functions
AXIS2_EXTERN axis2_status_t | savan_error_init ()

## Typedef Documentation

typedef enum savan_error_codes savan_error_codes_t

Savan error codes.

Since we use the same env->error from Axis2 we need to start from a AXIS2_ERROR_LAST + some number to prevent ambiguity Set of error codes for Savan

## Enumeration Type Documentation

enum savan_error_codes

Savan error codes.

Since we use the same env->error from Axis2 we need to start from a AXIS2_ERROR_LAST + some number to prevent ambiguity Set of error codes for Savan