pytwine.core.TwineExitStatus¶
- class pytwine.core.TwineExitStatus(value)[source]¶
Bases:
enum.Enum
Some exit statuses.
Given a TwineExitStatus, its .value is either None or an int, and can be passed to sys.exit.
- __init__()¶
Attributes
success
wrong number, or, bad arguments sypplied to script
an exception was encountered trying to compile a code block
- BAD_SCRIPT_ARGS = 1¶
wrong number, or, bad arguments sypplied to script
- BLOCK_COMPILATION_ERROR = 2¶
an exception was encountered trying to compile a code block
- SUCCESS = None¶
success