ReferenceStablesince v0.9.2

Platform Error Code Index

Complete reference of stable, E-prefixed error codes raised by the NeuronScope platform — exact causes, diagnostic hints, and mechanical remedies.

Audience: All Developers & SREsRead: 6 min

Every error raised by NeuronScope includes an E-prefixed error code, exception class name, human-readable cause description, and a mechanical remedy hint.

Error Code Reference Table

CodeNameCategoryCauseRemedy
E001FingerprintMismatchIdentityTwo objects that should be equal produced different canonical fingerprints.Compare inputs with ns.fingerprint_diff to find the parameter or schema drift.
E002UnknownAdapterRuntimeNo adapter is registered for the specified framework or model object.Install the matching extra, e.g. pip install 'neuronscope[torch]' or register adapter.
E003ProbeIncompatibleWithModelObservabilityThe probe selector requested layer paths that the model architecture cannot resolve.Check selector globs against ns.Scope(model).selected_modules().
E004ArtifactSchemaTooNewStorageThe .nsz artifact was written by a newer platform major version.Upgrade NeuronScope using pip install --upgrade neuronscope.
E005ArtifactSchemaTooOldStorageThe .nsz artifact predates the minimum supported schema contract.Migrate artifact using ns migrate <artifact> --to 0.9.2.
E006NonDeterministicOpReproducibilitydeterministic=True was set but an un-seeded non-deterministic op ran.Call ns.seed_all(seed) or pass deterministic=False.
E007SealAfterCloseLifecycleAttempted to write telemetry to a scope after it had been sealed.Ensure all execution calls occur inside the with ns.Scope() context block.
E008PromptCanonicalizationErrorPrompt EnginePrompt object contains un-hashable or un-canonicalized variable bindings.Convert prompt variables to primitive types (str, int, float, list, dict).
E009StorageBackendUnavailableStorageCloud storage protocol (s3, gcs, azure) lacks required driver dependency.Install cloud extra, e.g. pip install 'neuronscope[s3]'.
E010PluginContractMismatchPlugin SystemLoaded plugin targets an incompatible platform API major version.Update the plugin or re-run ns plugins doctor.
E4002HallucinationThresholdExceededGovernanceEvaluation score exceeded maximum allowed hallucination threshold in CI.Review retrieved RAG documents or prompt variables, or raise tolerance threshold.
E4005SecurityPolicyViolationSecurityPrompt variable contained prompt injection threat or un-redacted PII.Sanitize prompt inputs or adjust governance security rules.

Error Attributes & Exception Handling

In Python code, inspect err.code, err.name, and err.hint for programmatic exception handling and automated logging.

Related