core.exceptions
Custom Exceptions used throughout Jobmon.
Exceptions
Invalid Response type Exception. |
|
Invalid Request type Exception. |
|
Exception raised when Exit Info is not available for different executor types. |
|
Invalid Object got returned. |
|
Workflow with the same workflow args already exists. |
|
This Workflow is already done. |
|
This Workflow is not set to be resumed. |
|
This Workflow is empty. |
|
Distributor was not able to start in time. |
|
The Distributor is not running. |
|
Unexpected situation in Distributor. |
|
Error with the Workflow Run status. |
|
Resume Exception. |
|
Dependency does not exist. |
|
Multiple nodes with the same args for the same TaskTemplate not allowed. |
|
Memory input invalid. |
|
Memory convert unit invalid. |
|
No configuration found for server. |
|
Invalid State Transition implementation. |
|
Transition failed. |
|
Workflow Run encountered and error. |
|
raised when signal is sent to distributor. |
|
Cyclic graph detected. |
|
Raised when a user's task function raises an exception. |
Classes
Bash return codes used in distributor wrapper. |
Module Contents
- class core.exceptions.ReturnCodes
Bases:
objectBash return codes used in distributor wrapper.
- OK = 0
- WORKER_NODE_ENV_FAILURE = 198
- WORKER_NODE_CLI_FAILURE = 199
- exception core.exceptions.InvalidResponse
Bases:
ExceptionInvalid Response type Exception.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.InvalidRequest
Bases:
ExceptionInvalid Request type Exception.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.RemoteExitInfoNotAvailable
Bases:
ExceptionException raised when Exit Info is not available for different executor types.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.CallableReturnedInvalidObject
Bases:
ExceptionInvalid Object got returned.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.WorkflowAlreadyExists
Bases:
ExceptionWorkflow with the same workflow args already exists.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.WorkflowAlreadyComplete
Bases:
ExceptionThis Workflow is already done.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.WorkflowNotResumable
Bases:
ExceptionThis Workflow is not set to be resumed.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.EmptyWorkflowError
Bases:
ExceptionThis Workflow is empty.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.DistributorStartupTimeout
Bases:
ExceptionDistributor was not able to start in time.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.DistributorNotAlive
Bases:
ExceptionThe Distributor is not running.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.DistributorUnexpected
Bases:
ExceptionUnexpected situation in Distributor.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.WorkflowRunStateError
Bases:
ExceptionError with the Workflow Run status.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.ResumeSet
Bases:
ExceptionResume Exception.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.NodeDependencyNotExistError
Bases:
ExceptionDependency does not exist.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.DuplicateNodeArgsError
Bases:
ExceptionMultiple nodes with the same args for the same TaskTemplate not allowed.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.InvalidMemoryFormat
Bases:
ExceptionMemory input invalid.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.InvalidMemoryUnit
Bases:
ExceptionMemory convert unit invalid.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.ConfigError
Bases:
ExceptionNo configuration found for server.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.InvalidStateTransition(model: str, id: int, old_state: str, new_state: str)
Bases:
ExceptionInvalid State Transition implementation.
Initialize Exception.
- exception core.exceptions.TransitionError
Bases:
ExceptionTransition failed.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.WorkflowTestError
Bases:
ExceptionWorkflow Run encountered and error.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.DistributorInterruptedError
Bases:
Exceptionraised when signal is sent to distributor.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.CyclicGraphError
Bases:
ExceptionCyclic graph detected.
Initialize self. See help(type(self)) for accurate signature.
- exception core.exceptions.UserTaskFunctionError
Bases:
ExceptionRaised when a user’s task function raises an exception.
Used as a marker to distinguish user task failures from jobmon-internal errors at log boundaries. The original exception is chained via
raise ... from eso the full traceback is preserved.Initialize self. See help(type(self)) for accurate signature.