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,082 of 192,186
Downloads: 7,616

Daily

Ranking: 127,038 of 192,156
Downloads: 0

Depended by

RankDownloadsName
45,82526,110kojac
58,90718,534crewd_policies

Depends on

RankDownloadsName
13,348,548,670bundler
81,294,659,704rake

Owners

#GravatarHandle
1iconbuzzware