simplebench.enums.exit_code module🔗
Exit codes used by SimpleBench.
- class simplebench.enums.exit_code.ExitCode(value)[source]🔗
-
Exit codes for SimpleBench CLI.
- Defined Exit Codes are:
SUCCESS: Successful execution.
RUNTIME_ERROR: General runtime error during execution.
CLI_ARGUMENTS_ERROR: Error while processing command line arguments.
KEYBOARD_INTERRUPT: Keyboard interrupt occurred.
BENCHMARK_TIMED_OUT: Benchmark execution timed out.
- BENCHMARK_ERROR = 5🔗
An error occurred during benchmark execution.
- BENCHMARK_TIMED_OUT = 4🔗
Benchmark execution timed out.
- CLI_ARGUMENTS_ERROR = 2🔗
Error while processing command line arguments.
- KEYBOARD_INTERRUPT = 3🔗
Keyboard interrupt occurred.
- RUNTIME_ERROR = 1🔗
Runtime error during execution.
- SUCCESS = 0🔗
Successful execution.