Source code for jade.exceptions

"""Common exceptions for jade package"""


[docs] class JadeBaseException(Exception): """All JADE exceptions should derive from this class."""
[docs] class ExecutionError(JadeBaseException): """Raised when execution fails."""
[docs] class InvalidConfiguration(JadeBaseException): """Raised when the configuration is invalid."""
[docs] class InvalidParameter(JadeBaseException): """Raised when bad user input is detected."""
[docs] class JobAlreadyInProgress(JadeBaseException): """Raised when a local job is started while another is in progress."""
[docs] class UserAbort(JadeBaseException): """Raised when the user has aborted the operation."""
[docs] class InvalidExtension(JadeBaseException): """Raise when extension does not exist in EXTENSIONS"""