Skip to main content

MFAFactorNotRegisteredError

@quik/mfa


@quik/mfa / MFAFactorNotRegisteredError

Class: MFAFactorNotRegisteredError

Defined in: mfa/src/errors/MFAFactorNotRegisteredError.ts:6

Error thrown when a factor method is requested without registration.

Extends​

Constructors​

Constructor​

new MFAFactorNotRegisteredError(method): MFAFactorNotRegisteredError

Defined in: mfa/src/errors/MFAFactorNotRegisteredError.ts:7

Parameters​

method​

string

Returns​

MFAFactorNotRegisteredError

Overrides​

QMFAError.constructor

Properties​

code​

code: number

Defined in: core/src/errors/QError.ts:8

The code of the error.

Inherited from​

QMFAError.code


parameters​

parameters: Record<string, any> = {}

Defined in: core/src/errors/QError.ts:12

The additional features sent to the exception.

Inherited from​

QMFAError.parameters

Accessors​

translated​

Get Signature​

get translated(): string

Defined in: core/src/errors/QTranslatableError.ts:12

Returns​

string

Inherited from​

QMFAError.translated

Methods​

toObject()​

toObject(): object

Defined in: core/src/errors/QError.ts:45

Returns​

object

code​

code: number

message​

message: string

parameters​

parameters: Record<string, any>

stack​

stack: string

translated​

translated: string

Inherited from​

QMFAError.toObject


withContext()​

withContext(context): this

Defined in: core/src/errors/QError.ts:26

Attach context metadata to the error parameters.

Parameters​

context​

Record<string, unknown>

Context data to attach.

Returns​

this

Inherited from​

QMFAError.withContext