Skip to main content

Class: AuthorizationError

Extends

  • Error

Implements

Constructors

new AuthorizationError()

new AuthorizationError(message, original?): AuthorizationError

Parameters

message: string

original?: Error

Returns

AuthorizationError

Overrides

Error.constructor

Defined in

packages/oauth/src/errors.ts:45

Properties

code

code: ErrorCode = ErrorCode.AuthorizationError;

Implementation of

CodedError.code

Defined in

packages/oauth/src/errors.ts:41


message

message: string;

Implementation of

CodedError.message

Inherited from

Error.message

Defined in

docs/node_modules/typescript/lib/lib.es5.d.ts:1077


name

name: string;

Implementation of

CodedError.name

Inherited from

Error.name

Defined in

docs/node_modules/typescript/lib/lib.es5.d.ts:1076


original

original: undefined | Error;

Defined in

packages/oauth/src/errors.ts:43


stack?

optional stack: string;

Implementation of

CodedError.stack

Inherited from

Error.stack

Defined in

docs/node_modules/typescript/lib/lib.es5.d.ts:1078