Type Alias AttestationLevel

AttestationLevel:
    | "ROOT"
    | "HANDLE_ATTESTATION"
    | "SUB_ATTESTATION"
    | "SESSION"
    | "FORMAT"

The layer that produced an AttestationError.

ROOT / HANDLE_ATTESTATION / SUB_ATTESTATION identify the attestation-chain level; SESSION identifies the session token or session-constraint layer; FORMAT identifies structural/usage failures detected before any signature or trust material is consulted (token shape, field validation, derivation-tree and lifecycle rules).