Jasmin Fajkic
08/31/2022, 5:29 PMephemient
08/31/2022, 8:57 PMAndrew O'Hara
09/01/2022, 7:28 PMResult
implementations that let you define your own error type (such as a sealed class); therefore you don't have the overhead of exceptions in normal business logic.
• michaelbull/kotlin-result
• forkhandles/result4k and its kotest-matchers
I find kotlin-result is easier to use, but result4k already has a great kotest matcher library, and it integrates with my favourite functional http toolkit, so I prefer to use it.