import { isErrorResponse } from "https://deno.land/x/http_error@0.6.0/mod.ts";
Check if the response is an error response that can be converted to an HttpError.
Returns
response is ErrorResponse<T>
import { isErrorResponse } from "https://deno.land/x/http_error@0.6.0/mod.ts";
Check if the response is an error response that can be converted to an HttpError.