Warning

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

Emitted when a source warning occurred.

Constructors

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

Properties

Link copied to clipboard
open override val code: SourceWarningCode

The warning code used to identify the occurred source warning.

Link copied to clipboard
open override val message: String

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