| GOffice Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
GOErrorInfo; enum GOSeverity; #define GO_INIT_RET_ERROR_INFO (ret_error) void go_error_info_add_details (GOErrorInfo *error,GOErrorInfo *details); void go_error_info_add_details_list (GOErrorInfo *error,GSList *details); void go_error_info_free (GOErrorInfo *error); GOErrorInfo * go_error_info_new_from_errno (void); GOErrorInfo * go_error_info_new_from_error_list (GSList *errors); GOErrorInfo * go_error_info_new_printf (char const *msg_format,...); GOErrorInfo * go_error_info_new_str (char const *msg); GOErrorInfo * go_error_info_new_str_with_details (char const *msg,GOErrorInfo *details); GOErrorInfo * go_error_info_new_str_with_details_list (char const *msg,GSList *details); GOErrorInfo * go_error_info_new_vprintf (GOSeverity severity,char const *msg_format,va_list args); GSList * go_error_info_peek_details (GOErrorInfo *error); char const* go_error_info_peek_message (GOErrorInfo *error); GOSeverity go_error_info_peek_severity (GOErrorInfo *error); void go_error_info_print (GOErrorInfo *error);
void go_error_info_add_details (GOErrorInfo *error,GOErrorInfo *details);
Adds an existing GOErrorInfo instance to error.
|
GOErrorInfo |
|
GOErrorInfo to add |
void go_error_info_add_details_list (GOErrorInfo *error,GSList *details);
Adds a list of existing GOErrorInfo instances to error.
|
GOErrorInfo |
|
a list of GOErrorInfo to add. [element-type GOErrorInfo] |
GOErrorInfo * go_error_info_new_from_error_list (GSList *errors);
Creates a new GOErrorInfo from a list of existing GOErrorInfo instances to add to the message.
|
a list of GOErrorInfo to add. [element-type GOErrorInfo] |
Returns : |
the newly created GOErrorInfo. [transfer full] |
GOErrorInfo * go_error_info_new_str_with_details (char const *msg,GOErrorInfo *details);
Creates a new GOErrorInfo from message and an existing GOErrorInfo
instance to add to the message.
|
error message |
|
GOErrorInfo to add |
Returns : |
the newly created GOErrorInfo. [transfer full] |
GOErrorInfo * go_error_info_new_str_with_details_list (char const *msg,GSList *details);
Creates a new GOErrorInfo from message and a list of existing GOErrorInfo
instances to add to the message.
|
error message |
|
a list of GOErrorInfo to add. [element-type GOErrorInfo] |
Returns : |
the newly created GOErrorInfo. [transfer full] |
GOErrorInfo * go_error_info_new_vprintf (GOSeverity severity,char const *msg_format,va_list args);
GSList * go_error_info_peek_details (GOErrorInfo *error);
|
error message |
Returns : |
the newly details
in error. [element-type GOErrorInfo][transfer full]
|