globus_gsi...lout_error(3)

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

πŸ’– globus_gsi_authz_callout_error β€” GSI Authorization Callout Error API πŸ’–

okay bestie, this one lives in the Library Functions Manual, and it's literally the whole Authorization Callout Error Objects situation. let's get into it 🫢


✨ NAME ✨

globus_gsi_authz_callout_error β€” GSI Authorization Callout Error API

  • Authorization Callout Error Objects.

🌸 SYNOPSIS 🌸

πŸŽ€ Macros

  • #define GLOBUS_GSI_AUTHZ_CALLOUT_ERROR_MODULE Expands to (&globus_gsi_authz_callout_error_module) β€” it's the module descriptor. πŸ’…
  • #define GLOBUS_GSI_AUTHZ_CALLOUT_ERROR(__RESULT, __TYPE, __ERRSTR) Create an authorization callout error object. ✨
  • #define GLOBUS_GSI_AUTHZ_CALLOUT_ERRNO_ERROR(__RESULT, __ERRNO) Create an authorization callout error object with an errno. πŸ¦‹

🌈 Enumerations

enum globus_gsi_authz_callout_error_t

enum globus_gsi_authz_callout_error_t {
    GLOBUS_GSI_AUTHZ_CALLOUT_AUTHZ_CALLOUT_ERROR = 0,
    GLOBUS_GSI_AUTHZ_CALLOUT_AUTHZ_DENIED_BY_CALLOUT = 1,
    GLOBUS_GSI_AUTHZ_CALLOUT_CONFIGURATION_ERROR = 2,
    GLOBUS_GSI_AUTHZ_CALLOUT_SYSTEM_ERROR = 3,
    GLOBUS_GSI_AUTHZ_CALLOUT_CREDENTIAL_ERROR = 4,
    GLOBUS_GSI_AUTHZ_CALLOUT_BAD_ARGUMENT_ERROR = 5,
    GLOBUS_GSI_AUTHZ_CALLOUT_ERROR_LAST = 6 }

Error codes. (and yes, those numbers matter, don't touch them πŸ”₯)


πŸ’œ Detailed Description πŸ’œ

Authorization Callout Error Objects.

so basically β€” the GSI Authorization Callout Error API defines a set of Globus error codes, and those are the ones used by the error objects that the GSI Authorization API generates. that's the whole vibe.

and here's the important part, bestie: any application or library that wants to use this interface must include the globus_gsi_authz_callout_error.h header. no header, no deal. πŸ™ˆ


⭐ Macro Definition Documentation ⭐

πŸ“ #define GLOBUS_GSI_AUTHZ_CALLOUT_ERRNO_ERROR( __RESULT, __ERRNO)

Create an authorization callout error object with an errno. This updates the __RESULT parameter so it contains a brand new globus_result_t value pointing to an authorization error with the errno. 🫢

Parameters

  • __RESULT β€” A globus_result_t value pointing to a causal error. This will be modified by this macro so it points to the new error object. (yes, it gets rewritten in place, heads up πŸ’…)
  • __ERRNO β€” The errno value of this new error object.

πŸ¦‹ #define GLOBUS_GSI_AUTHZ_CALLOUT_ERROR( __RESULT, __TYPE, __ERRSTR)

Create an authorization callout error object. This updates the __RESULT parameter so it contains a new globus_result_t value pointing to an authorization error of type __TYPE with the detail string __ERRSTR. slay ✨

Parameters

  • __RESULT β€” A globus_result_t value pointing to a causal error. This will be modified by this macro so it points to the new error object. (same glow-up as above πŸ’–)
  • __TYPE β€” The authorization error value from the globus_gsi_authz_callout_error_t enumeration.
  • __ERRSTR β€” A parenthesized printf string containing the description of the error.

πŸ‘‘ Enumeration Type Documentation πŸ‘‘

🌟 enum globus_gsi_authz_callout_error_t

Error codes. These are the error code types used by the GSI Authorization Callout API.

Enumerator

  • GLOBUS_GSI_AUTHZ_CALLOUT_AUTHZ_CALLOUT_ERROR β€” Authz callout error
  • GLOBUS_GSI_AUTHZ_CALLOUT_AUTHZ_DENIED_BY_CALLOUT β€” Authorization denied by callout
  • GLOBUS_GSI_AUTHZ_CALLOUT_CONFIGURATION_ERROR β€” Configuration Error
  • GLOBUS_GSI_AUTHZ_CALLOUT_SYSTEM_ERROR β€” System Error
  • GLOBUS_GSI_AUTHZ_CALLOUT_CREDENTIAL_ERROR β€” Credentials Error
  • GLOBUS_GSI_AUTHZ_CALLOUT_BAD_ARGUMENT_ERROR β€” A invalid parameter was detected

🌈 Author 🌈

Generated automatically by Doxygen for globus_authz_callout_error from the source code. it's giving ✨machine-made but make it iconic✨ fr fr.


and that's the whole page, bestie!! πŸ’… no cap, you read every single line. main character energy, periodt. πŸŽ€

okay so before you go β€” this one's from globus_authz_callout_error, Version 4.2, and it answers to the name globus_gsi...lout_error(3) in the manual. mwah, go forth and handle those errors, queen πŸ‘‘πŸ’–