echo.exceptions module

exception echo.exceptions.ConfigurationError

Bases: Exception

exception echo.exceptions.OptimiserResultError

Bases: Exception

Raised when a particular termination condition is not met when running an optimisation

echo.exceptions.validate(statement: bool, message: str) → None

Similar to assert but will NOT be optimised out by bytecode conversions (see bandit warning B101)