Error

data class Error(val message: String, val exception: Exception = Exception(UNKNOWN_EXCEPTION)) : CoreEvent

Emitted when the SDK encounters an error during operation.

Errors may originate from network failures, authentication issues, or unexpected server responses. The message provides a human-readable description, while exception contains the underlying cause for programmatic handling.

Constructors

Link copied to clipboard
constructor(message: String, exception: Exception = Exception(UNKNOWN_EXCEPTION))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The underlying exception. Defaults to a generic exception if the original cause is unavailable.

Link copied to clipboard

A brief description of what went wrong.