Mar 3, 2024
Good introduction to the topic. I would go one step further and mention more elaborate result types that allow monadic binding like this excellent library: https://github.com/michaelbull/kotlin-result and of course https://arrow-kt.io/ with Either as a possible result type.