GLOBUS_ERROR_GSSAPI_MATCH(3)
globus_gssapi_error_utility π
okay bestie, welcome to the Library Functions Manual entry for globus_gssapi_error_utility β it's giving error handling helpers and honestly? it ate. β¨
π NAME π
globus_gssapi_error_utility β Error Handling Helpers π
- Error Handling Helpers.
β¨ SYNOPSIS β¨
π¦ Functions
globus_bool_t globus_error_gssapi_match (globus_object_t *error, globus_module_descriptor_t *module, const OM_uint32 major_status)β Error Match.globus_object_t * globus_error_wrap_gssapi_error (globus_module_descriptor_t *base_source, OM_uint32 major_status, OM_uint32 minor_status, int type, const char *source_file, const char *source_func, int source_line, const char *short_desc_format,...)β Wrap GSSAPI Error.
π Detailed Description π
Error Handling Helpers. no cap. π«Ά
Helper functions for dealing with Globus GSSAPI Error objects. lowkey essential.
This section defines utility functions for dealing with Globus GSSAPI Error objects. yes, it says it twice, and honestly? iconic of it.
π₯ Function Documentation π₯
globus_bool_t globus_error_gssapi_match (globus_object_t * error, globus_module_descriptor_t * module, const OM_uint32 major_status)
Error Match. Check whether the error originated from a specific module and match a specific major status. vibe check for your errors fr fr.
This function checks whether the error or any of it's causative errors originated from a specific module and contains a specific major status. If the module descriptor is left unspecified this function will check for any error of the specified major_status and vice versa. so like, leave one blank and it'll still do its lil thing π
Parameters
errorβ The error object for which to perform the checkmoduleβ The module descriptor to check formajor_statusβ The major status to check for
Return values
GLOBUS_TRUEβ The error matched the module and major status β¨GLOBUS_FALSEβ The error failed to match the module and major status π
globus_object_t * globus_error_wrap_gssapi_error (globus_module_descriptor_t * base_source, OM_uint32 major_status, OM_uint32 minor_status, int type, const char * source_file, const char * source_func, int source_line, const char * short_desc_format, ...)
Wrap GSSAPI Error. Allocate and initialize an error of type GLOBUS_ERROR_TYPE_GLOBUS which contains a causal error of type GLOBUS_ERROR_TYPE_GSSAPI. it's a lil error nesting doll situation, obsessed πͺ
Parameters
base_sourceβ Pointer to the originating module.major_statusβ The major status to use when generating the causal error.minor_statusβ The minor status to use when generating the causal error.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. UseFILEsource_funcβ Name of function. Use_globus_func_nameand declare your func withGlobusFuncName(<name>)source_lineβ Line number. UseLINEshort_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.
β οΈ bestie, listen β that object is yours to free with globus_object_free(). not me forgetting to free and leaking memory... couldn't be me π
πΈ Author πΈ
Generated automatically by Doxygen for globus_gssapi_error from the source code. (it literally wrote itself, main character energy fr π)
okay that's the whole page, you're welcome, go slay your error handling πβ¨ this was globus_gssapi_error, Version 6.3, and it lives in the globus_gssapi_error manual β mwah, bye bestie! ππ¦π
π¦ where this page comes from
- fedora 43: globus-gssapi-error-doc 6.3-9.fc43 Β· Apache-2.0
- fedora 44: globus-gssapi-error-doc 6.3-10.fc44 Β· Apache-2.0
- ubuntu resolute: libglobus-gssapi-error-doc 6.3-3build2 Β· Apache-2.0
- ubuntu stonking: libglobus-gssapi-error-doc 6.3-3build2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms