simpy.exceptions — Exception types used by SimPy
SimPy specific exceptions.
- exception simpy.exceptions.SimPyException
Base class for all SimPy specific exceptions.
- exception simpy.exceptions.Interrupt(cause: Any | None)
Exception thrown into a process if it is interrupted (see
interrupt()).causeprovides the reason for the interrupt, if any.If a process is interrupted concurrently, all interrupts will be thrown into the process in the same order as they occurred.