Skip to main content
Module

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

Alosaur - Deno web framework with many decorators
Very Popular
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; } }}