unexpectedValue(…), unsupportedAction(…) and similar functions that return Nothing.
Supported platforms: Android.
This dependency is not included in any of the fun-packs, because we don't believe all apps need its content.
Add it with refreshVersions:
Splitties.exceptions.
For reference, the maven coordinates of this module are com.louiscad.splitties:splitties-exceptions.
Here's the list of the included functions:
unexpectedValue(…)(puts the value in theIllegalStateExceptionmessage)illegalArg(…)(shortcut tothrow IllegalArgumentException(…))unsupported(…)(shortcut tothrow UnsupportedOperationException(…))unsupportedAction(…)(designed for unsupportedIntentactions)