RubyGems Navigation menu

standard_exceptions 0.1.4.1

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

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 0.1.4.1 - March 31, 2017 (17KB)
  2. 0.1.4 - March 30, 2017 (17.5KB)
  3. 0.1.3 - March 30, 2017 (17KB)

Development依存関係 (2):

bundler ~> 1.12
rake ~> 10.0

所有者:

作者:

  • Gary McGhee

SHA 256チェックサム:

83a928813ce0cb68bb48fbee7f8720d7ee8dc330b9bbd2c1e0a8248b3840a182

累計ダウンロード数 6,014

このバージョンのみ 2,655

ライセンス:

MIT

必要なRubyのバージョン: >= 0

リンク: