@opra/common
Version:
Opra common package
12 lines (11 loc) • 473 B
TypeScript
import type { ErrorIssue } from '../error-issue.js';
import { ForbiddenError } from './forbidden.error.js';
/**
* 403 Forbidden
* The client does not have access rights to the content; that is, it is unauthorized,
* so the server is refusing to give the requested resource. Unlike 401 Unauthorized,
* the client's identity is known to the server.
*/
export declare class PermissionError extends ForbiddenError {
protected init(issue: Partial<ErrorIssue>): void;
}