unexpectedValue(…)
, unsupportedAction(…)
and similar functions that return Nothing
.
Supported platforms: Android.
Here's the list of these functions:
unexpectedValue(…)
(puts the value in theIllegalStateException
message)illegalArg(…)
(shortcut tothrow IllegalArgumentException(…)
)unsupported(…)
(shortcut tothrow UnsupportedOperationException(…)
)unsupportedAction(…)
(designed for unsupportedIntent
actions)
implementation("com.louiscad.splitties:splitties-exceptions:$splitties_version")