Skip to main content
Module

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

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