Globus Error API(3)
NAME
Globus Error API
- Intended use:
- Modules
- Globus Errno Error API
Globus Generic Error API
Detailed Description
Intended use:
If a function needs to return an error it should do the following:
- o External errors, such as error returns from system calls and GSSAPI
- errors, should be wrapped using the appropriate error type.
- o The wrapped external error should then be passed as the cause of a
- globus error.
- o External error types are expected to provide a utility function to
- combine the above two steps.
- o The globus error should then be returned from the function.
- Notes on how to generate globus errors:
- o Module specific error types should be greater or equal to 1024 (to
- leave some space for global error types).
- o You may wish to generate a mapping from error types to format strings
- for use in short descriptions.
- o You may also wish to generate a common prefix for all of the above
- fromat strings. The suggested prefix is 'Function: %s Line:
%s '.
Author
- Generated automatically by Doxygen for globus common from the source
code.