Skip to content

About

A gem to work as a bridge between exceptions and result monads

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

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.

About

A gem to work as a bridge between exceptions and result monads

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages