Source code for nengo_spa.exceptions

[docs]class SpaException(Exception): """A exception within the SPA subsystem."""
[docs]class SpaActionSelectionError(SpaException): """An error in the usage of the SPA action selection system."""
[docs]class SpaParseError(SpaException, ValueError): """An error encountered while parsing a SPA expression."""
[docs]class SpaTypeError(SpaException, ValueError): """The evaluation of types in an SPA expression was invalid."""