@geniucode/common-utils
Version:
Common utils
13 lines (12 loc) • 458 B
TypeScript
import { CustomError } from './custom-error';
/**
* The HyperText Transfer Protocol (HTTP) 405 Method Not Allowed response status code indicates
* that the request method is known by the server but is not supported by the target resource.
*/
export declare class RequestMethodNotAllowedError extends CustomError {
constructor(message?: string);
setStatusCode(statusCode: number): void;
serializeErrors(): {
message: string;
}[];
}