Exceptions#
Exception hierarchy for comnumpy (decision D38).
Three members, no more. The double inheritance preserves existing
except ValueError / except RuntimeError user code.
Error messages follow the normative template: observed, expected, action (“got X, expected Y, do Z”).
- exception ComnumpyError[source]#
Base class for every comnumpy-raised error.
except ComnumpyErrorseparates “my chain is misconfigured” from an underlying numpy/scipy bug, a distinction a bareValueErrorcannot make.