mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
15 lines
282 B
TypeScript
15 lines
282 B
TypeScript
import { BaseHTTPError } from './base';
|
|
|
|
export default class MethodNotAllowed extends BaseHTTPError {
|
|
statusCode = 405;
|
|
|
|
title = 'Method Not Allowed';
|
|
|
|
allow?: string[];
|
|
|
|
constructor(detail: string = '', allow?: string[]) {
|
|
super(detail);
|
|
this.allow = allow;
|
|
}
|
|
}
|