@opra/common
Version:
Opra common package
12 lines (11 loc) • 459 B
TypeScript
import type { ErrorIssue } from '../error-issue.js';
import { OpraHttpError } from '../opra-http-error.js';
/**
* 406 Not Acceptable
* This response is sent when the web server, after performing server-driven content negotiation,
* doesn't find any content that conforms to the criteria given by the user agent.
*/
export declare class NotAcceptableError extends OpraHttpError {
status: number;
protected init(issue: Partial<ErrorIssue>): void;
}