Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oak_commons/http_errors.ts>isHttpError

A set of APIs for handling HTTP and HTTPS requests with Deno 🐿️ 🦕
Go to Latest
function isHttpError
import { isHttpError } from "https://deno.land/x/oak_commons@0.5.2/http_errors.ts";

A type guard that determines if the value is an HttpError or not.

Parameters

value: unknown