Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 582 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 582 Bytes

Monadic Exceptions

This gem aims to provide an interface from plain ruby exceptions to monads(using the dry-monad gem)

Initial goals for this gem

  • Initially I'm planning just to provide a interface between Exception -> Result[Failure(), Success()] where I try to provide as much information I can get from that exception so it's easier for you to manage it.

Disclaimers

Today we only support Proc as a parameter to the from_exception method because I still didn't discover a nice way to manage method references.