Warning

data class Warning(code: SourceWarningCode, message: String) : SourceEvent, WarningEvent

Emitted when a source warning occurred.

Constructors

Warning
Link copied to clipboard
fun Warning(code: SourceWarningCode, message: String)

Properties

code
Link copied to clipboard
open override val code: SourceWarningCode
The warning code used to identify the occurred source warning.
message
Link copied to clipboard
open override val message: String
The warning message to explain the reason for the source warning.

Inherited properties

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