ApiError

Source
import { ApiError } from "@prestojs/rest";

Indicates a response outside the 200 range

API

new ApiError(status,statusText,content)

Source
ParameterTypeDescription
*statusnumber

response status code

*statusTextstring

HTTP status code message

*contentany

the contents returned by server as processed be decodeBody

Properties

Static Properties

Inherited Properties