UNPKG

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

Version:

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

42 lines (38 loc) 1.42 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InitializationProtectedDataUnavailableError = void 0; var _InitializationError = require("./InitializationError"); /** * Copyright © 2025 Nevis Security AG. All rights reserved. */ /** * An error that indicates that protected data is not available at the time of SDK initialization. * * This is an iOS specific error and indicates that the app attempted to access protected data before * it became available, typically because the device is locked or the app is still in the prewarming * phase after launch. * In production, encountering this error suggests the SDK was initialized too early in the app lifecycle. */ class InitializationProtectedDataUnavailableError extends _InitializationError.InitializationError { /** * Provides details about the error that occurred. */ /** * The exception (if any) that caused this error. */ /** * The default constructor. * * @param description provides details about the error that occurred. * @param cause the exception (if any) that caused this error. */ constructor(description, cause) { super(); this.description = description; this.cause = cause; } } exports.InitializationProtectedDataUnavailableError = InitializationProtectedDataUnavailableError; //# sourceMappingURL=InitializationProtectedDataUnavailableError.js.map