Error

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

Emitted when a source error occurred.

Constructors

Link copied to clipboard
constructor(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.