How to return domain errors in Kotlin
Our domain, business, or core logic should be able to handle multiple cases. For that, I wanted to use some easy, expressive, and consistent approaches for returning values in a domain context. Here are the things that I've found.
tl;dr
(1) null as f...
roeniss.hashnode.dev5 min read