#include <axis2_error.h>
Public Attributes | |
axis2_status_t(* | free )(struct axis2_error *error) |
const axis2_char_t *(* | get_message )(const struct axis2_error *error) |
const axis2_char_t *(* | get_extended_message )(const struct axis2_error *error) |
axis2_status_t(* | set_error_number )(struct axis2_error *error, axis2_error_codes_t error_number) |
axis2_status_t(* | set_status_code )(struct axis2_error *error, axis2_status_codes_t status_code) |
axis2_status_t(* | get_status_code )(struct axis2_error *error) |
Encapsulator struct for ops of axis2_error
|
deallocate memory of a error struct
|
|
This fucntion is supposed to be overridden in an extended error structure. For example in Sandesha error structure this fucntion is overridden so that errors of axis2 range call the get_message function of error struct but errors of sandesha2 range get the messages from an array of that struct.
|
|
get error message for the last error
|