Skip to content

Latest commit

 

History

History
 
 

exceptions

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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")