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: 106,515 of 186,959
Downloads: 6,773

Daily

Ranking: 49,224 of 186,713
Downloads: 14

Depended by

RankDownloadsName
46,40723,680kojac
59,06917,058crewd_policies

Depends on

RankDownloadsName
12,905,736,219bundler
101,128,098,871rake

Owners

#GravatarHandle
1iconbuzzware