|
Fray Engine
|
Enumerations | |
| enum | code : F_err { FRAY_ERROR_LIST } |
| All Engine error codes, generated from FRAY_ERROR_LIST. NONE is 0 and means success. More... | |
Functions | |
| const F_char * | description (code err) |
| Formats an error code as "Error <number>: <description>". Not thread-safe: the text lives in a shared static buffer, so copy it before another call or thread can overwrite it. | |
| const F_char * | description (F_err err) |
| Overload of description() for a plain F_err value. | |
| enum fray::errors::code : F_err |
All Engine error codes, generated from FRAY_ERROR_LIST. NONE is 0 and means success.
| Enumerator | |
|---|---|
| FRAY_ERROR_LIST | |
Definition at line 83 of file errors.hpp.
Formats an error code as "Error <number>: <description>". Not thread-safe: the text lives in a shared static buffer, so copy it before another call or thread can overwrite it.
| err | The error code to describe. |
Definition at line 96 of file errors.hpp.
Overload of description() for a plain F_err value.
| err | Error value, cast to code. |
Definition at line 119 of file errors.hpp.