TailraceTailrace
ReferenceErrors

Errors

Stable Tailrace error codes - what each means and where to fix the call site.

Every Tailrace error extends TailraceError with a stable code. Messages never include detected values - only entity classes, rule paths, and hashes. Each thrown message ends with a docs URL for that code.

CodeClassWhen
POLICY_VIOLATIONPolicyViolationErrorA block rule matched
POLICY_INVALIDPolicyValidationErrorPolicy document failed validation
INVARIANTInvariantViolationErrorContract breach (e.g. restore at non-egress)
VAULTVaultErrorVault storage / crypto / lookup failure
RECOGNIZERRecognizerErrorRecognizer threw while scanning
NOT_IMPLEMENTEDNotImplementedErrorSpecified but not shipped yet (e.g. review)