FuncType - v1.4.1
    Preparing search index...

    Type Alias DecodeError

    Raised when a successful HTTP response could not be decoded into the caller's expected shape — JSON parse failure, a decode: Decoder<T> that returned Left(DecoderError), a throwing decodeUnsafe / validate, etc. In practice cause is a DecoderError (when produced by the decode path) or an Error (otherwise) — but the field is typed unknown for back-compat with the 1.0.x runtime.

    type DecodeError = {
        _tag: "DecodeError";
        body: string;
        cause: unknown;
        method: HttpMethod;
        url: string;
    }
    Index

    Properties

    Properties

    _tag: "DecodeError"
    body: string
    cause: unknown
    method: HttpMethod
    url: string