status: final (2023-01-16)
keywords: Operating System, Error Handling, Introspection
See also SRFI 170: POSIX API, SRFI 198: Foreign Interface Status, and SRFI 199: POSIX errno manipulation.library name: codesets
Many programming interfaces rely on a set of condition codes where each code has a numeric ID, a mnemonic symbol, and a human-readable message. This SRFI defines a facility to translate between numbers and symbols in a codeset and to fetch messages by code. Examples are given using the Unix errno and signal codesets.