enspara.exception

Custom enspara-only exceptions.

exception enspara.exception.ConvergenceWarning[source]

Bases: UserWarning

An iterative procedure has failed to converge after the maximum allowed number of iterations.

exception enspara.exception.DataInvalid[source]

Bases: Exception

The data looks structurally invalid (mismatched array lengths, negative numbers were natural numbers are expected, etc).

exception enspara.exception.ImproperlyConfigured[source]

Bases: Exception

The given configuration is incomplete or otherwise not usable.

exception enspara.exception.InsufficientResourceError[source]

Bases: Exception

The data is structurally valid, but insufficient computational resources were availiable to complete the operation or request.

exception enspara.exception.PerformanceWarning[source]

Bases: UserWarning

Something has happened that may have substantial performance implications and may be easy to avoid.

exception enspara.exception.SuspiciousDataWarning[source]

Bases: UserWarning

The data is usable, but is has a structure or type that is suspicious, and may cause bad behavior down the road.