Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/superdeno/test/deps.ts>Oak.isHttpError

Super-agent driven library for testing Deno HTTP servers.
Latest
function Oak.isHttpError
import { Oak } from "https://deno.land/x/superdeno@4.9.0/test/deps.ts";
const { isHttpError } = Oak;

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

Parameters

value: unknown