Level

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
enum class Level

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

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)

WARNING

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

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)

ERROR

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

© 2010–2021 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-experimental/-level/index.html