MagicError class

(Shortest import: from brian2 import MagicError)

class brian2.core.magic.MagicError[source]

Bases: exceptions.Exception

Error that is raised when something goes wrong in MagicNetwork

See notes to MagicNetwork for more details.