Agent Maturity Compass API - v1.2.0
    Preparing search index...

    Interface LlmFailure

    Serializable provider or transport failure facts.

    code is the routing discriminant: consumers switch on it and never parse message. status, providerRetryAfterMs and requestId are present only when the provider actually supplied a usable value — an absent field means "not reported", which is different from zero.

    interface LlmFailure {
        code: string;
        message: string;
        providerRetryAfterMs?: number;
        requestId?: string;
        status?: number;
    }
    Index
    code: string

    Stable provider-neutral machine-routing code.

    message: string

    Human-readable provider or transport failure. Never carries a secret.

    providerRetryAfterMs?: number

    Provider-requested delay in milliseconds, when valid and available.

    requestId?: string

    Opaque provider-issued request identifier, for diagnostics only.

    status?: number

    HTTP status returned by the provider, when available (100..599).