Get Source
Set Source
Get Cause
Set Cause
Get Type
Set Type
Get Short Description
Set Short Description
Get Long Description
Set Long Description
Detailed Description
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
Retrieve the originating module descriptor from a error object.
- Parameters:
-
error | The error from which to retrieve the module descriptor |
- Returns:
- The originating module descriptor.
Set the originating module descriptor in a error object.
- Parameters:
-
error | The error object for which to set the causative error |
source_module | The originating module descriptor |
- Returns:
- void
Retrieve the underlying error from a error object.
- Parameters:
-
error | The error from which to retrieve the causative error. |
- Returns:
- The underlying error object if it exists, NULL if it doesn't.
Set the causative error in a error object.
- Parameters:
-
error | The error object for which to set the causative error. |
causal_error | The causative error. |
- Returns:
- void
Retrieve the error type from a generic globus error object.
- Parameters:
-
error | The error from which to retrieve the error type |
- Returns:
- The error type of the object
Set the error type in a generic globus error object.
- Parameters:
-
error | The error object for which to set the error type |
type | The error type |
- Returns:
- void
Retrieve the short error description from a generic globus error object.
- Parameters:
-
error | The error from which to retrieve the description |
- Returns:
- The short error description of the object
Set the short error description in a generic globus error object.
- Parameters:
-
error | The error object for which to set the description |
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
Retrieve the long error description from a generic globus error object.
- Parameters:
-
error | The error from which to retrieve the description |
- Returns:
- The long error description of the object
Set the long error description in a generic globus error object.
- Parameters:
-
error | The error object for which to set the description |
long_desc_format | Longer format string giving a more detailed explanation of the error. |
- Returns:
- void