Cotal TypeScript packages
    Preparing search index...

    Interface EntryError

    interface EntryError {
        code: string;
        detail?: Readonly<Record<string, unknown>>;
        kind: string;
        message: string;
        stack?: string;
        thrown?: { value?: unknown };
    }
    Index
    code: string
    detail?: Readonly<Record<string, unknown>>
    kind: string
    message: string
    stack?: string

    WHERE THE THROW CAME FROM, kept only when the thrown value actually carried one.

    A handler fault is the one failure class whose cause is outside both the program and the language, so the message alone ("timeout") names the symptom and nothing else. The stack is the only field that says which host code produced it, and reading a fault out of a durable journal is usually the only look anyone gets. Absent whenever the thrown value had no string stack: a primitive throw carries none, and inventing one would name a place that never ran.

    thrown?: { value?: unknown }

    THE VALUE A PROGRAM THREW out of a scope, so a replay hands catch that value and not this record. Wrapped because throw undefined is legal and has no canonical form of its own: {} is that throw. Absent when the failure is not a value the program threw, or is one the record cannot carry.