@nevis-security/nevis-mobile-authentication-sdk-react
Version:
React Native plugin for Nevis Mobile Authentication SDK. Supports only mobile.
45 lines (39 loc) • 1.25 kB
text/typescript
/**
* Copyright © 2024 Nevis Security AG. All rights reserved.
*/
import { DeviceInformationCheckError } from './DeviceInformationCheckError';
import { Server } from '../../../localData/Server';
/**
* The backend does not support the retrieval of credentials.
*
* The backend must be running nevisFIDO 7.2408.** or later and the
* {@link https://docs.nevis.net/nevisfido/reference-guide/uaf-http-api/device-service#get-device-credentials | Get Device Credentials}
* endpoint must be accessible.
*/
export class DeviceInformationCheckOperationNotSupportedByBackendError extends DeviceInformationCheckError {
/**
* The server where the error occurred.
*/
server: Server;
/**
* Provides details about the error that occurred.
*/
description: string;
/**
* The exception (if any) that caused this error.
*/
cause?: string;
/**
* The default constructor.
*
* @param server the server where the error occurred.
* @param description provides details about the error that occurred.
* @param cause the exception (if any) that caused this error.
*/
constructor(server: Server, description: string, cause?: string) {
super();
this.server = server;
this.description = description;
this.cause = cause;
}
}