Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 593 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 593 Bytes

Exceptions

unexpectedValue(…), unsupportedAction(…) and similar functions that return Nothing.

Supported platforms: Android.

Here's the list of these functions:

  • unexpectedValue(…) (puts the value in the IllegalStateException message)
  • illegalArg(…) (shortcut to throw IllegalArgumentException(…))
  • unsupported(…) (shortcut to throw UnsupportedOperationException(…))
  • unsupportedAction(…) (designed for unsupported Intent actions)

Download

implementation("com.louiscad.splitties:splitties-exceptions:$splitties_version")