|
#define | ERR_FLAG_DISABLED BIT(3) |
| Flag indicating the error is disabled, meaning setting or clearing the error will not have any effect.
|
|
#define | ERR_FLAG_SET BIT(4) |
| Flag indicating the error is set. Can also be used in ERR_DEFINE to define an error that will be set after initialization.
|
|
#define | ERR_FLAG_SEV_MASK (ERR_SEV_INFO | ERR_SEV_WARN | ERR_SEV_FATAL) |
| Flag mask indicating the severity of the error.
|
|
#define | ERR_DEFINE(_name, _errcode, _serverity, _desc, ...) |
| Define an error.
|
|
#define | ERR_FILTER_CODE(...) |
| Error filter for error codes.
|
|
#define | ERR_FILTER_SEV(...) |
| Error filter for severities.
|
|
#define | ERR_CALLBACK_DEFINE_NAMED(_name, _handler, _user_data, ...) |
| Same as ERR_CALLBACK_DEFINE, but with a custom name for the callback.
|
|
#define | ERR_CALLBACK_DEFINE(handler, user_data, ...) |
| Define an error callback.
|
|
#define | ERR_FOREACH_SET(item) |
| Iterate over all set errors.
|
|
Error passing and handling support.
- Author
- quantumspawner
- Version
- 0.0.1
- Date
- 2025-02-17
- Copyright
- Copyright (c) 2025 NTU Racing Team