Skip to content

cherryramatisdev/monadic-exceptions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages