Sign in Sign up
rubygems

kinetic_cafe_error

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.

Activity

Latest release
10y ago
Total releases
15
Cadence
~9 days
Last 12 months
0

Details

License
MIT
First release
May 27, 2015
Releases
Version Released
1.12 minor
1.11 minor
1.10 minor
1.9 minor
1.8.1 minor
1.7 minor
1.6 minor
1.5 minor
1.4.1 patch
1.4 minor
1.3 minor
1.2 minor
1.1 minor
1.0.1 patch
1.0 initial