Skip to content

basalt / auth/src / MfaInvalidCodeError

Class: MfaInvalidCodeError ​

Defined in: auth/src/auth.ts:125

The supplied MFA (or recovery) code was wrong.

Extends ​

Constructors ​

Constructor ​

> new MfaInvalidCodeError(): MfaInvalidCodeError

Defined in: auth/src/auth.ts:127

Returns ​

MfaInvalidCodeError

Overrides ​

BasaltError.constructor

Properties ​

code ​

> readonly code: string

Defined in: core/src/errors.ts:25

Inherited from ​

BasaltError.code


details? ​

> readonly optional details?: Record<string, unknown>

Defined in: core/src/errors.ts:28

Structured payload passed to the constructor, exactly as given (never sanitised here).

Inherited from ​

BasaltError.details


status ​

> readonly status: 401 = 401

Defined in: auth/src/auth.ts:126

Released under the MIT License.