Level

Common
JVM
JS
Native
1.0
enum class Level

Severity of the diagnostic that should be reported on usages which did not explicitly opted into the API either by using OptIn 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 API.

Common
JVM
JS
Native
1.0

ERROR

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