#include <xqc.h>
Public Attributes | |
void * | user_data |
Can be used for user specific purposes. | |
void(* | error )(XQC_ErrorHandler *handler, XQC_Error error, const char *error_uri, const char *error_localname, const char *description, XQC_Sequence *error_object) |
The function called when an error occurs. |
An XQC_ErrorHandler can be set for a query execution using the XQC_StaticContext::set_error_handler() and XQC_DynamicContext::set_error_handler() functions.
The XQC_ErrorHandler struct has no free() function pointer because the user remains responsible for freeing the resources associated with this struct.
|
The function called when an error occurs. The function receives the components of the error as arguments. When this function returns, the implementation will exit query preparation or execution with the error enumeration value passed as an argument.
|
|
Can be used for user specific purposes.
|