BrianObjectException class
(Shortest import: from brian2 import BrianObjectException)
- class brian2.core.base.BrianObjectException(message, brianobj)[source]
Bases:
Exception
High level exception that adds extra Brian-specific information to exceptions
This exception should only be raised at a fairly high level in Brian code to pass information back to the user. It adds extra information about where a
BrianObject
was defined to better enable users to locate the source of problems.