Module

x/oak/mod.ts>isHttpError

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
function isHttpError
import { isHttpError } from "https://dotland.deno.dev/x/oak@v12.0.1/mod.ts";

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

Parameters

value: unknown

Returns

value is HttpError