Skip to main content
Module

x/airbag/mod.ts>HttpError

A simple solution to error handling in oak
Latest
class HttpError
extends Error
Re-export
Abstract
import { HttpError } from "https://deno.land/x/airbag@0.4/mod.ts";

Constructors

new
HttpError(
message: string,
statusCode: number,
options?: ErrorOptions,
)

Properties

statusCode: number