Throw an HTTPResponseError if the response status indicates an error.
The fetch Response to check.
Options: readBody (default true) and custom isError predicate.
The response unchanged if status is OK.
If the status matches the error condition.
Throw an HTTPResponseError if the response status indicates an error.