UNPKG

@opra/common

Version:
12 lines (11 loc) 462 B
import type { ErrorIssue } from '../error-issue.js'; import { OpraHttpError } from '../opra-http-error.js'; /** * 401 Unauthorized * Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". * That is, the client must authenticate itself to get the requested response. */ export declare class UnauthorizedError extends OpraHttpError { status: number; protected init(issue: Partial<ErrorIssue>): void; }