GLOBUS_GSSAPI_ERROR_UTILITY(3)

πŸ“¦
version 6.3 Β· 6 versions
, in fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

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 check
  • module β€” The module descriptor to check for
  • major_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. 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.

⚠️ 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