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: 104,855 of 190,317
Downloads: 7,519

Daily

Ranking: 51,002 of 190,280
Downloads: 4

Depended by

RankDownloadsName
45,57525,874kojac
58,57718,382crewd_policies

Depends on

RankDownloadsName
13,240,425,504bundler
81,255,248,311rake

Owners

#GravatarHandle
1iconbuzzware