Error

data class Error(code: SourceErrorCode, message: String, data: Any?) : SourceEvent, ErrorEvent

Emitted when a source error occurred.

Constructors

Link copied to clipboard
fun Error(code: SourceErrorCode, message: String, data: Any? = null)

Properties

Link copied to clipboard
open override val code: SourceErrorCode

The error code used to identify the source error.

Link copied to clipboard
open override val data: Any? = null

Potential additional data.

Link copied to clipboard
open override val message: String

The error message to explain the reason for the source error.