Level

Common
JVM
JS
Native
1.0
enum class Level
(source)

Severity of the diagnostic that should be reported on usages of experimental API which did not explicitly accept the experimental aspect of that API either by using UseExperimental or by being annotated with the corresponding marker annotation.

Enum Values

Common
JVM
JS
Native
1.0

WARNING

Specifies that a warning should be reported on incorrect usages of this experimental API.

Common
JVM
JS
Native
1.0

ERROR

Specifies that an error should be reported on incorrect usages of this experimental API.