@opra/common
Version:
Opra common package
12 lines (11 loc) • 449 B
TypeScript
import type { ErrorIssue } from '../error-issue.js';
import { OpraHttpError } from '../opra-http-error.js';
/**
* 405 Method Not Allowed
* The request method is known by the server but is not supported by the target resource.
* For example, an API may not allow calling DELETE to remove a resource.
*/
export declare class MethodNotAllowedError extends OpraHttpError {
status: number;
protected init(issue: Partial<ErrorIssue>): void;
}