exit_code.h¶
| File Path | engine/include/conjure/engine/exit_code.h |
| API ↗ | Engine: the application and the frame, Running the engine |
Process exit codes of the executables. application::run() returns one of these as an int; runtime/main.cpp and conjure_editor return them from main().
Enumerations¶
exit_code¶
enum class exit_code : int {
OK = 0,
INIT_FAILURE = 1, // initialise() failed
RUNTIME_FAILURE = 2, // step_frame() reported an unrecoverable error or a resize failed twice
BAD_ARGUMENTS = 3, // application_desc::from_command_line failed
DEVICE_LOST = 4 // the graphics device was lost (no recovery in v1)
};