Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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