graphmine-util / io.github.sof3.graphmine.util / DEADCODE
inline val DEADCODE:
Nothing
Always throws AssertionError stating that control flow should never reach this point. Useful in when
blocks when
Kotlin is unable to detect that the conditions are exhaustive
inline fun DEADCODE(message:
String
= "Control flow error"):
Nothing
Always throws AssertionError stating that control flow should never reach this point. Useful in when
blocks when
Kotlin is unable to detect that the conditions are exhaustive
message
- a string to use as the error message