RubyGems Navigation menu

kinetic_cafe_error 1.10

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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 1.12 - May 27, 2016 (29.0 KB)
  2. 1.11 - May 24, 2016 (27.5 KB)
  3. 1.10 - March 25, 2016 (28.5 KB)
  4. 1.9 - November 30, 2015 (28.0 KB)
  5. 1.8.1 - October 26, 2015 (27.5 KB)
显示所有版本 (共 16 个)

Development 依赖 (21):

appraisal ~> 2.1
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
minitest ~> 5.8
minitest-moar ~> 0.0
rack-test ~> 0.6
rake ~> 10.0
rdoc ~> 4.0
rubocop ~> 0.32
simplecov ~> 0.7

业主:

作者:

  • Austin Ziegler, Jero Sutlovic

SHA 256 校验和:

802bc09f5ef2390e8496c15a969fa98162a124747121a06993af0c0d1a4d3735

下载总量 40,063

这个版本 2,752

许可:

MIT

需要的 Ruby 版本: >= 2.1

链接: