Answers every failed exchange of the wrapped Fetch implementation with a response. Callers then handle
transport failures and error responses alike, as responses whose ok is false.
It is the converse of reject, which turns unsuccessful responses into rejections.
Uniform failure answering middleware.
Answers every failed exchange of the wrapped Fetch implementation with a response. Callers then handle transport failures and error responses alike, as responses whose
okisfalse.It is the converse of reject, which turns unsuccessful responses into rejections.
Usage
See