The project is in a healthy, maintained state
A bridge between a exception and a Result monad provided by dry-monads gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

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.