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

NAMEglobus_generic_error_object − Error Construction
 − Error Construction​.

SYNOPSIS

Macros#define GLOBUS_ERROR_TYPE_GLOBUS

Construct Errorglobus_object_t * globus_error_construct_error (globus_module_descriptor_t *base_source, globus_object_t *base_cause, int type, const char *source_file, const char *source_func, int source_line, const char *short_desc_format,​.​.​.)
globus_object_t * globus_error_v_construct_error (globus_module_descriptor_t *base_source, globus_object_t *base_cause, const int type, const char *source_file, const char *source_func, int source_line, const char *short_desc_format, va_list ap)

Initialize Errorglobus_object_t * globus_error_initialize_error (globus_object_t *error, globus_module_descriptor_t *base_source, globus_object_t *base_cause, int type, const char *source_file, const char *source_func, int source_line, const char *short_desc_format, va_list ap)

Detailed DescriptionError Construction​. Create and initialize a Globus Generic Error object​. This section defines operations to create and initialize Globus Generic Error objects​.

Macro Definition Documentation

#define GLOBUS_ERROR_TYPE_GLOBUSError type definition

Function Documentation

globus_object_t* globus_error_construct_error (globus_module_descriptor_t * base_source, globus_object_t * base_cause, int type, const char * source_file, const char * source_func, int source_line, const char * short_desc_format, ​.​.​.)Allocate and initialize an error of type GLOBUS_ERROR_TYPE_GLOBUS Parameters base_source Pointer to the originating module​.
base_cause The error object causing the error​. If this is the original error this parameter may be NULL​.
type The error type​. We may reserve part of this namespace for common errors​. Errors not in this space are assumed to be local to the originating module​.
source_file Name of file​. Use FILE
source_func Name of function​. Use _globus_func_name and declare your func with GlobusFuncName(<name>)
source_line Line number​. Use LINE
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 The resulting error object​. It is the user's responsibility to eventually free this object using globus_object_free()​. A globus_result_t may be obtained by calling globus_error_put() on this object​.

globus_object_t* globus_error_initialize_error (globus_object_t * error, globus_module_descriptor_t * base_source, globus_object_t * base_cause, int type, const char * source_file, const char * source_func, int source_line, const char * short_desc_format, va_list ap)Initialize a previously allocated error of type GLOBUS_ERROR_TYPE_GLOBUS Parameters error The previously allocated error object​.
base_source Pointer to the originating module​.
base_cause The error object causing the error​. If this is the original error this parameter may be NULL​.
type The error type​. We may reserve part of this namespace for common errors​. Errors not in this space are assumed to be local to the originating module​.
source_file Name of file​. Use FILE
source_func Name of function​. Use _globus_func_name and declare your func with GlobusFuncName(<name>)
source_line Line number​. Use LINE
short_desc_format Short format string giving a succinct description of the error​. To be passed on to the user​.
ap Arguments for the format string​.
Returns The resulting error object​. You may have to call globus_error_put() on this object before passing it on​.

globus_object_t* globus_error_v_construct_error (globus_module_descriptor_t * base_source, globus_object_t * base_cause, const int type, const char * source_file, const char * source_func, int source_line, const char * short_desc_format, va_list ap)Allocate and initialize an error of type GLOBUS_ERROR_TYPE_GLOBUS Parameters base_source Pointer to the originating module​.
base_cause The error object causing the error​. If this is the original error this parameter may be NULL​.
type The error type​. We may reserve part of this namespace for common errors​. Errors not in this space are assumed to be local to the originating module​.
source_file Name of file​. Use FILE
source_func Name of function​. Use _globus_func_name and declare your func with GlobusFuncName(<name>)
source_line Line number​. Use LINE
short_desc_format Short format string giving a succinct description of the error​. To be passed on to the user​.
ap Arguments for the format string​.
Returns The resulting error object​. It is the user's responsibility to eventually free this object using globus_object_free()​. A globus_result_t may be obtained by calling globus_error_put() on this object​.

AuthorGenerated automatically by Doxygen for globus_common from the source code​.
0
Johanes Gumabo
Data Size   :   17,299 byte
man-GLOBUS_ERROR_TYPE_GLOBUS.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   4 / 167,254
Visitor ID   :     :  
Visitor IP   :   3.149.242.223   :  
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.05
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.