kinetic_cafe_error 1.9
kinetic_cafe_error provides an API-smart error base class and a DSL for defining errors. Under Rails, it also provides a controller concern (KineticCafe::ErrorHandler) that has a useful implementation of +rescue_from+ to handle KineticCafe::Error types. Exceptions in a hierarchy can be handled in a uniform manner, including getting an I18n translation message with parameters, standard status values, and meaningful JSON representations that can be used to establish a standard error representations across both clients and servers.
Gemfile:
=
安裝:
=
Development 相依性套件 (20):
coveralls
~> 0.8
hoe
~> 3.14
hoe-doofus
~> 1.0
hoe-gemspec2
~> 1.1
hoe-git
~> 1.6
hoe-rubygems
~> 1.0
hoe-travis
~> 1.2
i18n-tasks
~> 0.8
i18n-tasks-csv
~> 1.0
minitest
~> 5.8
minitest-autotest
~> 1.0
minitest-bonus-assertions
~> 1.0
minitest-focus
~> 1.1
minitest-moar
~> 0.0
minitest-stub-const
~> 0.4
rack-test
~> 0.6
rake
~> 10.0
rdoc
~> 4.0
rubocop
~> 0.32
simplecov
~> 0.7