orangy
fun foo(param1: String? = null, param2: String? = param1 ?: throw ArgumentException("Either param1 or param2 or both should be specified"))