GLOBUS_GENERIC_ERROR_API(3)
π globus_generic_error_api(3) π
okay bestie, welcome to the Library Functions Manual page for globus_generic_error_api(3) β yes it's a mouthful, no we are not shortening it, it's iconic. let's get into it π«Ά
β¨ NAME β¨
globus_generic_error_api β the Globus Generic Error API π
like, that's it. that's the name. it's giving "Globus Generic Error API" and honestly? periodt.
πΈ SYNOPSIS πΈ
π Topics
here's the lil fam of subtopics, all grouped up like a group chat:
- Error Construction β Error Construction. (yes girl, building errors from scratch, we love a creative moment β¨)
- Error Data Accessors and Modifiers β Error Data Accessors and Modifiers. (getting at the data, changing the data, the whole vibe π)
- Error Handling Helpers β Error Handling Helpers. (the lil besties that help you handle stuff π«Ά)
π¦ Detailed Description π¦
okay so, Globus Generic Error API. that's the whole thing, that's the description. π
now for the real tea: these globus_error functions exist because somebody was like "ugh, generating new error types is so much work" and honestly, relatable. the whole motivation is the desire to provide an easier way of generating new error types, while at the same time preserving all features (e.g. memory management, chaining) of the current error handling framework. no cap, all the good stuff stays.
how does it do it tho? it does this by defining a generic error type for globus which in turn contains a integer in it's instance data which is used for carrying the actual error type information. so the generic type is the main character π and the actual error type info is just chillin' inside it as an integer. iykyk.
π¨ real talk bestie, important rule: any program that uses Globus Generic Error functions must include "globus_common.h". like, must must. don't skip it, the compiler will not be your friend. π
π Author π
Generated automatically by Doxygen for globus_common from the source code. (not me writing a whole personality for auto-generated docs, but here we are π
)
β SEE ALSO β
no extra refs on this one bestie, we're keeping it cute and self-contained πΈ
and that's the whole page!! mwah π
signing off from globus_common, Version 18.15, on the globus_generic_error_api(3) page β stay slay, stay error-free (or at least, like, handle your errors generically), and remember: include "globus_common.h" or it's over for you πβ¨π¦
π¦ where this page comes from
- fedora 44: globus-common-doc 18.15-2.fc44 Β· Apache-2.0
- ubuntu resolute: libglobus-common-doc 18.15-1 Β· Apache-2.0
- ubuntu stonking: libglobus-common-doc 18.15-2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms