Skip to main content
Module

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

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