core.exceptions =============== .. py:module:: core.exceptions .. autoapi-nested-parse:: Custom Exceptions used throughout Jobmon. Exceptions ---------- .. autoapisummary:: core.exceptions.InvalidResponse core.exceptions.InvalidRequest core.exceptions.RemoteExitInfoNotAvailable core.exceptions.CallableReturnedInvalidObject core.exceptions.WorkflowAlreadyExists core.exceptions.WorkflowAlreadyComplete core.exceptions.WorkflowNotResumable core.exceptions.EmptyWorkflowError core.exceptions.DistributorStartupTimeout core.exceptions.DistributorNotAlive core.exceptions.DistributorUnexpected core.exceptions.WorkflowRunStateError core.exceptions.ResumeSet core.exceptions.NodeDependencyNotExistError core.exceptions.DuplicateNodeArgsError core.exceptions.InvalidMemoryFormat core.exceptions.InvalidMemoryUnit core.exceptions.ConfigError core.exceptions.InvalidStateTransition core.exceptions.TransitionError core.exceptions.WorkflowTestError core.exceptions.DistributorInterruptedError core.exceptions.CyclicGraphError Classes ------- .. autoapisummary:: core.exceptions.ReturnCodes Module Contents --------------- .. py:class:: ReturnCodes Bases: :py:obj:`object` Bash return codes used in distributor wrapper. .. py:attribute:: OK :value: 0 .. py:attribute:: WORKER_NODE_ENV_FAILURE :value: 198 .. py:attribute:: WORKER_NODE_CLI_FAILURE :value: 199 .. py:exception:: InvalidResponse Bases: :py:obj:`Exception` Invalid Response type Exception. .. py:exception:: InvalidRequest Bases: :py:obj:`Exception` Invalid Request type Exception. .. py:exception:: RemoteExitInfoNotAvailable Bases: :py:obj:`Exception` Exception raised when Exit Info is not available for different executor types. .. py:exception:: CallableReturnedInvalidObject Bases: :py:obj:`Exception` Invalid Object got returned. .. py:exception:: WorkflowAlreadyExists Bases: :py:obj:`Exception` Workflow with the same workflow args already exists. .. py:exception:: WorkflowAlreadyComplete Bases: :py:obj:`Exception` This Workflow is already done. .. py:exception:: WorkflowNotResumable Bases: :py:obj:`Exception` This Workflow is not set to be resumed. .. py:exception:: EmptyWorkflowError Bases: :py:obj:`Exception` This Workflow is empty. .. py:exception:: DistributorStartupTimeout Bases: :py:obj:`Exception` Distributor was not able to start in time. .. py:exception:: DistributorNotAlive Bases: :py:obj:`Exception` The Distributor is not running. .. py:exception:: DistributorUnexpected Bases: :py:obj:`Exception` Unexpected situation in Distributor. .. py:exception:: WorkflowRunStateError Bases: :py:obj:`Exception` Error with the Workflow Run status. .. py:exception:: ResumeSet Bases: :py:obj:`Exception` Resume Exception. .. py:exception:: NodeDependencyNotExistError Bases: :py:obj:`Exception` Dependency does not exist. .. py:exception:: DuplicateNodeArgsError Bases: :py:obj:`Exception` Multiple nodes with the same args for the same TaskTemplate not allowed. .. py:exception:: InvalidMemoryFormat Bases: :py:obj:`Exception` Memory input invalid. .. py:exception:: InvalidMemoryUnit Bases: :py:obj:`Exception` Memory convert unit invalid. .. py:exception:: ConfigError Bases: :py:obj:`Exception` No configuration found for server. .. py:exception:: InvalidStateTransition(model: str, id: int, old_state: str, new_state: str) Bases: :py:obj:`Exception` Invalid State Transition implementation. .. py:exception:: TransitionError Bases: :py:obj:`Exception` Transition failed. .. py:exception:: WorkflowTestError Bases: :py:obj:`Exception` Workflow Run encountered and error. .. py:exception:: DistributorInterruptedError Bases: :py:obj:`Exception` raised when signal is sent to distributor. .. py:exception:: CyclicGraphError Bases: :py:obj:`Exception` Cyclic graph detected.