RubyGems Navigation menu

kinetic_cafe_error 1.8.1

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.

Versions:

  1. 1.12 - May 27, 2016 (29 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 KB)
  5. 1.8.1 - October 26, 2015 (27.5 KB)
Show all versions (16 total)

Owners:

Authors:

  • Austin Ziegler, Jero Sutlovic

SHA 256 checksum:

1ae557f149747c7548f6b1028e24915eab62665a7df8ba5d99d29a9566346123

Total downloads 22,492

For this version 1,119

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

MIT

Required Ruby Version: >= 1.9.2

Links: