Exceptions¶
Mirakuru’s exceptions.
-
exception
mirakuru.exceptions.
AlreadyRunning
(executor)[source]¶ Bases:
exceptions.Exception
Is raised when the executor seems to be already running.
When some other process (not necessary executor) seems to be started with same configuration we can’t bind to same port.
Exception initialization.
Parameters: executor (mirakuru.base.Executor) – for which exception occured.
-
exception
mirakuru.exceptions.
TimeoutExpired
(executor, timeout)[source]¶ Bases:
exceptions.Exception
Is raised when the timeout expires while starting an executor.
Exception initialization.
Parameters: - executor (mirakuru.base.Executor) – for which exception occured.
- timeout (int) – timeout for which exception occurred.