Error Handling Helpers
- Provided by: libglobus-common-doc (Version: 14.10-2)
- Source: globus-common
- Report a bug
globus_object_t * globus_error_wrap_errno_error
(globus_module_descriptor_t *base_source, int system_errno, int type, const
char *source_file, const char *source_func, int source_line, const char
*short_desc_format,...)
Helper functions for dealing with Globus Errno Error objects.
This section defines utility functions for dealing with Globus Errno Error objects.
Check whether the error originated from a specific module and matches a specific errno. This function checks whether the error or any of it's causative errors originated from a specific module and contains a specific errno. If the module descriptor is left unspecified this function will check for any error of the specified errno and vice versa.
Parameters:
Returns:
References globus_error_errno_get_errno(), globus_error_get_cause(), globus_error_get_source(), and GLOBUS_ERROR_TYPE_ERRNO.
Allocate and initialize an error of type GLOBUS_ERROR_TYPE_GLOBUS which contains a causal error of type GLOBUS_ERROR_TYPE_ERRNO.
Parameters:
Returns:
References globus_error_construct_errno_error(), and globus_error_v_construct_error().
Generated automatically by Doxygen for globus common from the source code.