Error

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

Emitted when a source error occurred.

Constructors

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

Properties

code
Link copied to clipboard
open override val code: SourceErrorCode
The error code used to identify the source error.
data
Link copied to clipboard
open override val data: Any? = null
Potential additional data.
message
Link copied to clipboard
open override val message: String
The error message to explain the reason for the source error.

Inherited properties

timestamp
Link copied to clipboard
var timestamp: Long
The time at which the event was emitted.