An error that can be used to signify when a fetch has failed. It is used by the default check function and
is thrown when a fetcher response is not ok (i.e. status is not in the range [200, 299])
It implements the IResponseMutable interface so can be used just like a normal response class. This can be useful
for parsing error codes from an API.
An error that can be used to signify when a
fetch
has failed. It is used by the default check function and is thrown when a fetcher response is notok
(i.e.status
is not in the range[200, 299]
)It implements the
IResponseMutable
interface so can be used just like a normal response class. This can be useful for parsing error codes from an API.