DEV Community

Discussion on: How to Write Elixiry Ruby - Result Object

ryanwilldev profile image
Ryan Will

Great post! If you haven't seen this talk you should definitely check it out. It's about using Exception structs to provide more detail to the caller, prevent having to match on different sized tuples, and preserving the ability of the caller to raise the Exception struct if they need to.

dsdshcym profile image
Yiming Chen Author

Thank you for the recommendation!
I’ll definitely watch it. 🙏