Tyr Admission Controller - v0.36.1
    Preparing search index...

    Type Alias UpstreamFailure

    Why an upstream call failed without a usable response.

    Node's fetch rejects every transport failure with the same TypeError: fetch failed; the reason (ECONNREFUSED, ECONNRESET, UND_ERR_SOCKET, ...) is only on its cause chain. name and code are bounded and safe to return to callers. detail, syscall and causeName can carry internal addresses and belong in operator logs only.

    type UpstreamFailure = {
        causeName?: string;
        code: string;
        detail: string;
        name: string;
        syscall?: string;
    }
    Index
    causeName?: string

    Name of the error that carried code, e.g. SocketError.

    code: string

    Most specific error code on the cause chain, or unknown.

    detail: string

    Innermost message, bounded. Log-only: it may contain host:port.

    name: string

    Outermost error name, e.g. TypeError.

    syscall?: string