Skip to main content
Module

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

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
File
import { HttpError } from "./HttpError.ts";
/** * Exception for 403 HTTP error. */export class ForbiddenError extends HttpError { name = "ForbiddenError";
constructor(message?: string) { super(403); Object.setPrototypeOf(this, ForbiddenError.prototype);
if (message) { this.message = message; } }}