ReferenceStablesince v0.2.0

Exceptions

Every exception class NeuronScope raises, its inheritance, its associated error code, and the remedy.

Audience: All usersRead: 4 minSource

Class hierarchy

Every exception ultimately inherits from NeuronScopeError. Catch that if you want to swallow any library-originated failure without also swallowing user bugs.

Classes

ClassInheritsCode rangeRaised when
NeuronScopeErrorExceptionRoot of every exception the library raises.
ValidationErrorNeuronScopeErrorE2xxxA structural or semantic check failed at construction.
FingerprintErrorNeuronScopeErrorE11xxA fingerprint could not be computed or was rejected.
AdapterErrorNeuronScopeErrorE12xxNo adapter matched or an adapter refused an object.
RecorderErrorNeuronScopeErrorE21xxThe recorder failed to attach, snapshot, or save.
ArtifactErrorNeuronScopeErrorE22xxAn .nsz artifact is malformed or version-incompatible.
ComparisonErrorNeuronScopeErrorE31xxTwo runs cannot be compared (typically arch fingerprint mismatch).
ConfigurationErrorNeuronScopeErrorE41xxA config value is missing, malformed, or out of range.
Related