Class: NotFoundError¶
HTTP 404: the resource was not found.
Extends¶
Constructors¶
Constructor¶
Parameters¶
status¶
number
body¶
unknown
headers¶
Headers
message?¶
string
Returns¶
NotFoundError
Inherited from¶
Properties¶
body¶
Parsed JSON, response text, or undefined for an empty body.
Inherited from¶
headers¶
HTTP response headers.
Inherited from¶
requestId¶
Request ID from x-typesafe-request-id, or undefined when absent.
Inherited from¶
status¶
HTTP response status code.
Inherited from¶
Methods¶
fromResponse()¶
Create the error subclass for an HTTP status code.
Parameters¶
status¶
number
body¶
unknown
headers¶
Headers