Source code for neuror.exceptions

"""Define exceptions specific to NeuroR."""


[docs]class NeuroRError(Exception): """Exceptions raised by NeuroR."""
[docs]class CorruptedMorphology(NeuroRError): """Exception for morphologies that should not be used."""
[docs]class ZeroLengthRootSection(NeuroRError): """Exception for morphologies that have zero length root sections."""