@nevis-security/nevis-mobile-authentication-sdk-react
Version:
React Native plugin for Nevis Mobile Authentication SDK. Supports only mobile.
38 lines (33 loc) • 956 B
JavaScript
;
/**
* Copyright © 2023 Nevis Security AG. All rights reserved.
*/
import { OutOfBandPayloadError } from "./OutOfBandPayloadError.js";
/**
* An error that indicates that some form of tampering was found in the application.
*
* Currently, this is always an {@link OutOfBandPayloadNoDeviceLockError}.
*
* @group Errors
* @category Out-of-Band Payload
*/
export class OutOfBandPayloadDeviceProtectionError extends OutOfBandPayloadError {
/**
* 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;
}
}
//# sourceMappingURL=OutOfBandPayloadDeviceProtectionError.js.map