@anzaui/engine - v0.6.0
    Preparing search index...

    Type Alias ErrorCode

    ErrorCode: "VALIDATION" | "NOT_FOUND" | "TEMPLATE" | "CRYPTO" | "INTERNAL"

    The error codes an AnzaError can carry. They are the same in the Rust, TypeScript and Python engines (see the Engine Contract).

    Code Raised when
    VALIDATION A request or name is malformed: empty route, empty template or slot, a template name with .., \, NUL or a leading /, a missing template root.
    NOT_FOUND An unknown page or template, or a fragment outside the fragments allowlist. Also unreadable files at load time.
    TEMPLATE A template cannot be parsed (unclosed {{ / {{{, empty {{}}) or is larger than maxTemplateBytes.
    CRYPTO A signing key is missing or malformed at setup, key derivation fails, or {@link verifyEnvelope} rejects an envelope.
    INTERNAL An unexpected failure inside the engine.