Skip to main content
Module

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

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