Skip to main content

Class: InvalidStateError

Extends

  • Error

Implements

Constructors

new InvalidStateError()

new InvalidStateError(message?): InvalidStateError

Parameters

message?: string

Returns

InvalidStateError

Inherited from

Error.constructor

Defined in

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

Properties

code

code: ErrorCode = ErrorCode.InvalidStateError;

Implementation of

CodedError.code

Defined in

packages/oauth/src/errors.ts:29


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


stack?

optional stack: string;

Implementation of

CodedError.stack

Inherited from

Error.stack

Defined in

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