Module

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

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
import * as mod from "https://dotland.deno.dev/x/alosaur@v0.35.0/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.