ctietze, Are there any #Swift API design best practices about error handling?
So far, I sketched everything with
Result<Value,Error>
so I get typed errors.But both stack unwinding and the lack of ceremony of
throws
is appealing, too. API consumers probably don't need fine grained detail which of the 20 error cases occurred.
Add comment