RubyGems Navigation menu

standard_exceptions 0.1.4

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:
= Copier Copié!

installation:
=

Versions:

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

Dépendances de Development (2):

bundler ~> 1.12
rake ~> 10.0

Propriétaires:

Auteurs:

  • Gary McGhee

Total de contrôle SHA 256:

e4663443385bca7271c582f9d3082c0b7960e0f31dc74d719f48cccfe600e255

Total de téléchargements 6 077

Pour cette version 1 703

License:

MIT

Version de Ruby requise: >= 0

Liens: