API reference@evolu/commonHttp › FetchStatusError

Defined in: packages/common/src/Http.ts:111

Error returned when a body mode receives a non-2xx response.

The response body is drained as text before this error is returned. Draining buffers the whole error body; error responses are expected to be small. If the drain itself fails, body contains the read error.

Extends

  • Typed<"FetchStatusError">

Properties

body

readonly body: Result<string, unknown>;

Defined in: packages/common/src/Http.ts:113


response

readonly response: FetchResponse;

Defined in: packages/common/src/Http.ts:112


type

readonly type: "FetchStatusError";

Defined in: packages/common/src/Type.ts:8883

Inherited from

Typed.type