hSUMerror catalog

hSUM / docs / 0.1.0-alpha.1 / errors

Error catalog

64 public subcodes across 18 categories. Every hSUM failure — CLI, CLI JSON, and MCP — names one of these and links here.

EVIDENCE_FORGOTTEN

The cited evidence was deliberately forgotten and cannot be resolved. · exit 1

MODEL_MISSING

A required local embedding model is not configured or not installed. · exit 3

MODEL_INCOMPATIBLE

The local model does not match this index's pinned contract. · exit 3

DOWNLOAD_FAILED

A model download did not complete or failed verification. · exit 3

INTEGRITY_FAILED

Internal evidence indexes disagree — a structural integrity check failed. · exit 5

TIMEOUT

Bounded work did not finish before its deadline. · exit 4

CANCELLED

The client cancelled or disconnected before completion. · exit 130

SCHEMA_TOO_OLD

The index schema predates this binary and needs migration or upgrade. · exit 5

SCHEMA_TOO_NEW

The index was written by a newer hSUM binary than this one. · exit 5