Categories: None [Edit]

standard_exceptions

https://rubygems.org/gems/standard_exceptions
There is great benefit in adopting a standard library of exceptions. Projects and libraries can all assume the same set of exception classes will be raised and caught using the built in language rescue keyword which filters on class. It becomes especially powerful for building API's, where specific exception classes can be made to return specific HTTP status codes. This libary also provides helper bang-methods eg. unauthorised! for raising these standard kinds of errors

Total

Ranking: 105,558 of 188,354
Downloads: 7,270

Daily

Ranking: 46,540 of 188,339
Downloads: 5

Depended by

RankDownloadsName
45,75425,223kojac
58,54218,056crewd_policies

Depends on

RankDownloadsName
13,090,212,201bundler
101,192,295,793rake

Owners

#GravatarHandle
1iconbuzzware