Optional
action?: stringOptional
canOptional
message?: stringOptional
name?: stringOptional
actionThe action during which the error occurred (Android only).
Optional
canIndicates whether the operation that caused the error can be retried (Android only).
Numeric error code representing the type of error.
A brief, human-readable description of the error.
Indicates whether the error is terminal.
Optional
messageAdditional message information about the error (Android only).
Optional
nameThe name of the error (Android only).
Generated using TypeDoc
Represents an exception specific to the HMS SDK in a React Native context.
This class encapsulates detailed information about errors that can occur while interacting with the HMS SDK. It includes a numeric code to identify the type of error, a human-readable description, and optionally, a message, name, and action that are primarily available on Android. Additionally, it indicates whether the error is terminal (i.e., cannot be recovered from) and whether a retry might be possible.