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,680 of 197,085
Downloads: 7,971

Daily

Ranking: 55,182 of 197,066
Downloads: 1

Depended by

RankDownloadsName
46,44526,950kojac
58,93919,403crewd_policies

Depends on

RankDownloadsName
13,796,160,121bundler
81,428,256,062rake

Owners

#GravatarHandle
1iconbuzzware