@nevis-security/nevis-mobile-authentication-sdk-react
Version:
React Native plugin for Nevis Mobile Authentication SDK. Supports only mobile.
34 lines (29 loc) • 808 B
JavaScript
/**
* Copyright © 2023 Nevis Security AG. All rights reserved.
*/
import { OperationError } from './OperationError';
/**
* A network error occurred while redeeming the token: either the server was not reachable or it returned
* an HTTP error.
*/
export class OperationNetworkError extends OperationError {
/**
* 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=OperationNetworkError.js.map
;