rnpy
fun getErrorHandlerForException(ex: Exception) = when(ex) { is IllegalArgumentException -> ::handleIAE is RuntimeException -> ::handleRE else -> null }