Skip to main content
Error thrown when an MFA operation fails.

Extends

  • Error

Constructors

Constructor

new MfaError(code: MfaErrorCode, message: string): MfaError;
Creates a new MfaError.

Parameters

ParameterTypeDescription
codeMfaErrorCodeThe error code identifying the type of MFA error.
messagestringThe error message.

Returns

MfaError

Overrides

Error.constructor

Properties

PropertyModifierTypeDescription
codepublicMfaErrorCodeThe error code identifying the type of MFA error.