Skip to main content
Module

x/alosaur/src/http-error/mod.ts

Alosaur - Deno web framework with many ES Decorators
Very Popular
Latest
import * as alosaur from "https://deno.land/x/alosaur@v1.1.1/src/http-error/mod.ts";

Classes

Exception for 400 HTTP error.

Exception for 403 HTTP error.

Used to throw HTTP errors. Just do throw new HttpError(code, message) in your controller action and default error handler will catch it and give in your response given code and message .

Exception for 500 HTTP error.

Exception for todo HTTP error.

Exception for 406 HTTP error.

Exception for 404 HTTP error.

Exception for 401 HTTP error.