Edoardo Luppi
09/23/2024, 8:47 AMAny
argument in the error
function?
public inline fun error(message: Any): Nothing = throw IllegalStateException(message.toString())
Isn't it risky allowing passing in all types of data?wasyl
09/23/2024, 9:11 AMEdoardo Luppi
09/23/2024, 9:11 AMwasyl
09/23/2024, 9:13 AMerror { "foo" }
might be not useful 🤔