@qtsurfer/sdk
    Preparing search index...

    Type Alias ResponseError

    General response error

    type ResponseError = {
        code: number;
        message: string;
        next?: ErrorNextCall;
        reason?: string;
        retryable?: boolean;
    }
    Index
    code: number

    Status code

    message: string

    Error description

    reason?: string

    A stable token naming the cause, for a client to branch on without reading message. Present only on an error that has one, and each operation that can return one lists the values it uses. A client treats a value it does not know like an absent reason.

    retryable?: boolean

    Whether sending the same request again can succeed. true for 408, 425, 429 and every 5xx; false for every other 4xx, which fails the same way until the request changes: a field of the wrong type, a strategy that does not compile, a missing parameter. A plan limit (a 402, or a 429 without Retry-After) is false. When the answer carries a Retry-After, wait that long before sending the request again.