enspara.exception

Custom enspara-only exceptions.

Exceptions

ConvergenceWarning

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

DataInvalid

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

ImproperlyConfigured

The given configuration is incomplete or otherwise not usable.

InsufficientResourceError

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

PerformanceWarning

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

SuspiciousDataWarning

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