Error handling
The react-native-duo-sdk exports a DuoSDKError class that can be used to handle errors that occur during the use of the Duo SDK.
The DuoSDKError
class contains the following properties:
name - The name of the error. Always
DuoSDKError
.code - The error code.
message - The error message.
cause - The error that caused this error or undefined.
Example usage
Last updated