Skip to content

gsamokovarov/masse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Masse

Catch those Ruby errors by the masses!

Installation

$ gem install masse

Usage

SloppyRuntimeErrors = Masse[
  "Access Denied",
  "Cannot find remote server",
  /SSH Key \(\w+)\ cannot be found/,
  -> raised { dynamic_check_for(raised) },
]

begin
  Action.execute
rescue SloppyRuntimeErrors => err
  ErrorTracker.send(err)
end

🎉

About

Catch those Ruby errors by the masses!

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published