plumpy.exceptions module#

exception plumpy.exceptions.ClosedError[source]#

Bases: Exception

Raised when an mutable operation is attempted on a closed process

exception plumpy.exceptions.InvalidStateError[source]#

Bases: Exception

Raised when an operation is attempted that requires the process to be in a state that is different from the current state

exception plumpy.exceptions.KilledError[source]#

Bases: Exception

The process was killed.

exception plumpy.exceptions.PersistenceError[source]#

Bases: Exception

Raised when there is a problem persisting the process

class plumpy.exceptions.UnsuccessfulResult(result: int | None = None)[source]#

Bases: object

The result of the process was unsuccessful