pylag.exceptions module

PyLag exceptions

The intention here is to help callers distinguish between expected PyLag exceptions and regular python exceptions, which indicate a bug in PyLag’s API. See Item 87 of Effective Python by Brett Slatkin (2020) for a full description.

exception pylag.exceptions.PyLagException[source]

Bases: Exception

exception pylag.exceptions.PyLagOutOfBoundsError[source]

Bases: PyLagException

exception pylag.exceptions.PyLagRuntimeError[source]

Bases: PyLagException

exception pylag.exceptions.PyLagTypeError[source]

Bases: PyLagException

exception pylag.exceptions.PyLagValueError[source]

Bases: PyLagException