@nevis-security/nevis-mobile-authentication-sdk-react
Version: 
React Native plugin for Nevis Mobile Authentication SDK. Supports only mobile.
38 lines (34 loc) • 1.17 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.DeviceInformationSyncDeviceProtectionError = void 0;
var _DeviceInformationSyncError = require("./DeviceInformationSyncError");
/**
 * Copyright © 2024 Nevis Security AG. All rights reserved.
 */
/**
 * An error that indicates that some form of tampering was found in the application.
 * Currently, this is always a {@link DeviceInformationSyncNoDeviceLockError}.
 */
class DeviceInformationSyncDeviceProtectionError extends _DeviceInformationSyncError.DeviceInformationSyncError {
  /**
   * 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.DeviceInformationSyncDeviceProtectionError = DeviceInformationSyncDeviceProtectionError;
//# sourceMappingURL=DeviceInformationSyncDeviceProtectionError.js.map