import { Exception } from "../core/Exception" ; export class NotAcceptable extends Exception { static readonly STATUS = 406 ; name : string = "NOT_ACCEPTABLE" ; constructor ( message , origin = "You must accept content-type " + message ) { super ( NotAcceptable . STATUS , origin ) ; } }