Skip to content

basalt / auth/src / MfaAlreadyEnabledError

Class: MfaAlreadyEnabledError ​

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

MFA is already active: re-enrolling would silently switch it off. Disable it (with a code) first.

Extends ​

Constructors ​

Constructor ​

> new MfaAlreadyEnabledError(): MfaAlreadyEnabledError

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

Returns ​

MfaAlreadyEnabledError

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: 409 = 409

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

Released under the MIT License.