UNPKG

alepha

Version:

Easy-to-use modern TypeScript framework for building many kind of applications.

14 lines (12 loc) 249 B
import { HttpError } from "./HttpError.ts"; export class NotFoundError extends HttpError { constructor(message = "Resource not found", cause?: unknown) { super( { message, status: 404, }, cause, ); } }