UNPKG

@nevis-security/nevis-mobile-authentication-sdk-react

Version:

React Native plugin for Nevis Mobile Authentication SDK. Supports only mobile.

48 lines (43 loc) 1.59 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FingerprintUserVerificationError = void 0; var _RecoverableError = require("../RecoverableError"); /** * Copyright © 2023 Nevis Security AG. All rights reserved. */ /** * The recoverable error that can occur when verifying the user with fingerprint. This occurs when * the user provides bad fingerprints. * * When this error occurs, the {@link FingerprintUserVerifier.verifyFingerprint} method will be invoked * again. This error will be returned by the {@link FingerprintUserVerificationContext.lastRecoverableError}. */ class FingerprintUserVerificationError extends _RecoverableError.RecoverableError { /** * Provides details about the error that occurred. */ /** * The exception (if any) that caused this error. */ /** * If available, this returns a localized message describing the error that can be presented * to the end-user. This message is provided by the operating system. */ /** * The default constructor. * * @param description provides details about the error that occurred. * @param cause the exception (if any) that caused this error. * @param message a localized message describing the error that can be presented to the end-user. */ constructor(description, cause, message) { super(); this.description = description; this.cause = cause; this.message = message; } } exports.FingerprintUserVerificationError = FingerprintUserVerificationError; //# sourceMappingURL=FingerprintUserVerificationError.js.map