Skip to main content
Defined in: server/auth/types.ts:22 Thrown by authorization checks to produce a 403 response. Any other error thrown during verification produces a 401.

Extends

  • Error

Constructors

Constructor

new AuthorizationError(message): AuthorizationError;
Defined in: server/auth/types.ts:23

Parameters

message
string

Returns

AuthorizationError

Overrides

Error.constructor