UNPKG

@nevis-security/nevis-mobile-authentication-sdk-react

Version:

React Native plugin for Nevis Mobile Authentication SDK. Supports only mobile.

26 lines (23 loc) 817 B
/** * Copyright © 2023 Nevis Security AG. All rights reserved. */ /** * The parent of all the errors that can be returned. */ export abstract class MobileAuthenticationClientError { /** * Provides details about the error that occurred. * * **NOTE** \ * Displaying the error description directly to the end user is not recommended. * It is advisable to handle errors in a more appropriate manner, such as providing translations for all supported languages and simplifying the error message to ensure it is understandable and actionable for the end-users. * * This is not a localized message and is targeted to developers in the context * of debugging/problem analysis. */ abstract description: string; /** * The exception (if any) that caused this error. */ abstract cause?: string; }