globus_generic_error_utility - Online Linux Manual PageSection : 3
Updated : Tue Jan 26 2021
Source : Version 18.9
Note : globus_common

NAMEglobus_generic_error_utility − Error Handling Helpers
 − Error Handling Helpers​.

SYNOPSIS

Error Matchglobus_bool_t globus_error_match (globus_object_t *error, globus_module_descriptor_t *module, int type)

Print Error Chainchar * globus_error_print_chain (globus_object_t *error)

Print User Friendly Error Messagechar * globus_error_print_friendly (globus_object_t *error)

Detailed DescriptionError Handling Helpers​. Helper functions for dealing with Globus Generic Error objects​. This section defines utility functions for dealing with Globus Generic Error objects​.

Function Documentation

globus_bool_t globus_error_match (globus_object_t * error, globus_module_descriptor_t * module, int type)Check whether the error originated from a specific module and is of a specific type​. <> This function checks whether the error or any of it's causative errors originated from a specific module and is of a specific type​. If the module descriptor is left unspecified this function will check for any error of the specified type and vice versa​. Parameters error The error object for which to perform the check
module The module descriptor to check for
type The type to check for
Returns GLOBUS_TRUE - the error matched the module and type GLOBUS_FALSE - the error failed to match the module and type

char* globus_error_print_chain (globus_object_t * error)Return a string containing all printable errors found in a error object and it's causative error chain​. <> If the GLOBUS_ERROR_VERBOSE env is set, file, line and function info will also be printed (where available)​. Otherwise, only the module name will be printed​. Parameters error The error to print Returns A string containing all printable errors​. This string needs to be freed by the user of this function​.

char* globus_error_print_friendly (globus_object_t * error)Return a string containing error messages from the top 1 and bottom 3 objects, and, if found, show a friendly error message​. The error chain will be searched from top to bottom until a friendly handler is found and a friendly message is created​. If the GLOBUS_ERROR_VERBOSE env is set, then the result from globus_error_print_chain() will be used​. Parameters error The error to print Returns A string containing a friendly error message​. This string needs to be freed by the user of this function​.

AuthorGenerated automatically by Doxygen for globus_common from the source code​.
0
Johanes Gumabo
Data Size   :   11,670 byte
man-globus_error_match.3Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   5 / 260,240
Visitor ID   :     :  
Visitor IP   :   18.227.46.54   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.