import { BaseException } from '@directus/shared/exceptions' ; type Extensions = { allow : string [ ] ; } ; export class MethodNotAllowedException extends BaseException { constructor ( message = 'Method not allowed.' , extensions ) { super ( message , 405 , 'METHOD_NOT_ALLOWED' , extensions ) ; } }