@opra/common
Version:
Opra common package
12 lines (11 loc) • 481 B
TypeScript
import type { ErrorIssue } from '../error-issue.js';
import { OpraHttpError } from '../opra-http-error.js';
/**
* 400 Bad Request
* The server cannot or will not process the request due to something that is perceived to be a client error
* (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
*/
export declare class BadRequestError extends OpraHttpError {
status: number;
protected init(issue: Partial<ErrorIssue>): void;
}