3 ms·
Use the builtin Result class and runCatching/fold and be done with it. Yes, it has shortcomings but works well enough in practice.
by oweiler 11mo ago
Use the builtin Result class and runCatching/fold and be done with it. Yes, it has shortcomings but works well enough in practice.