FailureResponse interface

The interface representing a failure response

Properties

body

The response body

headers

The response headers

status

The status code of the response

Property Details

body

The response body

body?: string | Record<string, unknown>

Property Value

string | Record<string, unknown>

headers

The response headers

headers?: HeadersInit

Property Value

HeadersInit

status

The status code of the response

status: number

Property Value

number