import { CustomError } from "../CustomError" ; export class MethodNotAllowed extends CustomError { constructor ( message = "Method Not Allowed" , errorCode = 405 , originalError ? ) { super ( message , 405 , errorCode , originalError ) ; } }