Skip to main content
Module

x/ako/deps.ts>HttpError

Expressive HTTP middleware framework for deno using async functions. Aiming to port Koa to Deno.
Latest
class HttpError
extends Error
Abstract
import { HttpError } from "https://deno.land/x/ako@1.0.0-beta.2/deps.ts";

Constructors

new
HttpError(code: number, message?: string)

Index Signatures

[key: string]: any

Properties

expose: boolean
message: string
name: string
status: number
statusCode: number