table of contents
globus_generic_error_accessor(3) | globus_common | globus_generic_error_accessor(3) |
NAME¶
globus_generic_error_accessor - Error Data Accessors and Modifiers
- Error Data Accessors and Modifiers.
SYNOPSIS¶
Get Source¶
globus_module_descriptor_t * globus_error_get_source
(globus_object_t *error)
Set Source¶
void globus_error_set_source (globus_object_t *error,
globus_module_descriptor_t *source_module)
Get Cause¶
globus_object_t * globus_error_get_cause (globus_object_t
*error)
Set Cause¶
void globus_error_set_cause (globus_object_t *error,
globus_object_t *causal_error)
Get Type¶
int globus_error_get_type (globus_object_t *error)
Set Type¶
void globus_error_set_type (globus_object_t *error, const
int type)
Get Short Description¶
char * globus_error_get_short_desc (globus_object_t *error)
Set Short Description¶
void globus_error_set_short_desc (globus_object_t *error,
const char *short_desc_format,...)
Get Long Description¶
char * globus_error_get_long_desc (globus_object_t *error)
Set Long Description¶
void globus_error_set_long_desc (globus_object_t *error,
const char *long_desc_format,...)
Detailed Description¶
Error Data Accessors and Modifiers.
Get and set data in a Globus Generic Error object.
This section defines operations for accessing and modifying data in a Globus Generic Error object.
Function Documentation¶
globus_object_t* globus_error_get_cause (globus_object_t * error)¶
Retrieve the underlying error from a error object. <>
Parameters
Returns
char* globus_error_get_long_desc (globus_object_t * error)¶
Retrieve the long error description from a generic globus error object. <>
Parameters
Returns
char* globus_error_get_short_desc (globus_object_t * error)¶
Retrieve the short error description from a generic globus error object. <>
Parameters
Returns
globus_module_descriptor_t* globus_error_get_source (globus_object_t * error)¶
Retrieve the originating module descriptor from a error object. <>
Parameters
Returns
int globus_error_get_type (globus_object_t * error)¶
Retrieve the error type from a generic globus error object. <>
Parameters
Returns
void globus_error_set_cause (globus_object_t * error, globus_object_t * causal_error)¶
Set the causative error in a error object. <>
Parameters
causal_error The causative error.
Returns
void globus_error_set_long_desc (globus_object_t * error, const char * long_desc_format, ...)¶
Set the long error description in a generic globus error object. <>
Parameters
long_desc_format Longer format string giving a more detailed explanation of the error.
Returns
void globus_error_set_short_desc (globus_object_t * error, const char * short_desc_format, ...)¶
Set the short error description in a generic globus error object. <>
Parameters
short_desc_format Short format string giving a succinct description of the error. To be passed on to the user.
... Arguments for the format string.
Returns
void globus_error_set_source (globus_object_t * error, globus_module_descriptor_t * source_module)¶
Set the originating module descriptor in a error object. <>
Parameters
source_module The originating module descriptor
Returns
void globus_error_set_type (globus_object_t * error, const int type)¶
Set the error type in a generic globus error object. <>
Parameters
type The error type
Returns
Author¶
Generated automatically by Doxygen for globus_common from the source code.
Tue Jul 5 2022 | Version 18.13 |