Skip to main content

Class: InvalidStateError

Defined in: packages/oauth/src/errors.ts:28

Extends

  • Error

Implements

Constructors

new InvalidStateError()

new InvalidStateError(message?): InvalidStateError

Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1082

Parameters

message?

string

Returns

InvalidStateError

Inherited from

Error.constructor

Properties

code

code: ErrorCode = ErrorCode.InvalidStateError;

Defined in: packages/oauth/src/errors.ts:29

Implementation of

CodedError.code


message

message: string;

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

Implementation of

CodedError.message

Inherited from

Error.message

name

name: string;

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

Implementation of

CodedError.name

Inherited from

Error.name

stack?

optional stack: string;

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

Implementation of

CodedError.stack

Inherited from

Error.stack