Man page - globus_error_api(3)

Packages contains this manual

Manual

globus_error_api

NAME
SYNOPSIS
Modules
Detailed Description
Author

NAME

globus_error_api - Globus Error API

- Globus Error API.

SYNOPSIS

Modules

Globus Errno Error API
Globus Errno Error API.
Globus Generic Error API

Globus Generic Error API.

Detailed Description

Globus Error API.

Intended use:

If a function needs to return an error it should do the following:

β€’

External errors, such as error returns from system calls and GSSAPI errors, should be wrapped using the appropriate error type.

β€’

The wrapped external error should then be passed as the cause of a globus error.

β€’

External error types are expected to provide a utility function to combine the above two steps.

β€’

The globus error should then be returned from the function.

Notes on how to generate globus errors:

β€’

Module specific error types should be greater or equal to 1024 (to leave some space for global error types).

β€’

You may wish to generate a mapping from error types to format strings for use in short descriptions.

β€’

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.