EmitWarningOptions

sealed external interface EmitWarningOptions(source)

Properties

Link copied to clipboard
abstract var code: String?

A unique identifier for the warning instance being emitted.

Link copied to clipboard
abstract var ctor: Function<*>?

When warning is a string, ctor is an optional function used to limit the generated stack trace.

Link copied to clipboard
abstract var detail: String?

Additional text to include with the error.

Link copied to clipboard
abstract var type: String?

When warning is a string, type is the name to use for the type of warning being emitted.