Not sure this question has already been covered pr...
# announcements
a
Not sure this question has already been covered previously, i did a quick search and i've not been able to find something related. Considering that (for plenty of reasons, some of which are discussed also in the official website) kotlin does not support checked exeptions , i was wondering what are the idiomatic patterns for error handling in kotlin. Mapping error cases into properly sealed classes that can be pattern matched to model Success and Error cases exhaustively? rely on custom exceptions? other patterns?
m
Yeah, I would say sealed classes / result types is the most idiomatic that I have seen
w
To add on to that, you can check out #C5UPMM0A0
1