errors¶
ArgumentError
¶
Bases: ExternalError
Error with the value of a provided argument
ConversionError
¶
Bases: ArgumentError
Raised if a type conversion fails
Source code in /home/runner/work/arc/arc/arc/errors.py
ExternalError
¶
InternalError
¶
Bases: ArcError
Errors that fire due to development / internal errors. These will be noted to probably be bugs in production mode
Source code in /home/runner/work/arc/arc/arc/errors.py
UsageError
¶
Bases: ExternalError
Indicates that the command was used incorrectly. If a command is provided, the command's usage will be printed, along with the provided error message
Source code in /home/runner/work/arc/arc/arc/errors.py
exit(code=0, message=None)
¶
Exits the application with code
.
Optionally recieves a message
that will be written
to stderr before exiting