@nevis-security/nevis-mobile-authentication-sdk-react
Version:
React Native plugin for Nevis Mobile Authentication SDK. Supports only mobile.
35 lines (30 loc) • 884 B
text/typescript
/**
* Copyright © 2025 Nevis Security AG. All rights reserved.
*/
import { OperationError } from './OperationError';
/**
* The server requires application attestation and there was a problem either obtaining the application
* attestation information from the Google Cloud APIs, or the server did not accept the contents sent
* by the SDK.
*/
export class OperationAppAttestationError extends OperationError {
/**
* Provides details about the error that occurred.
*/
description: string;
/**
* The exception (if any) that caused this error.
*/
cause?: string;
/**
* The default constructor.
*
* @param description provides details about the error that occurred.
* @param cause the exception (if any) that caused this error.
*/
constructor(description: string, cause?: string) {
super();
this.description = description;
this.cause = cause;
}
}