RubyGems Navigation menu

api_error_handler 0.2.1

A gem that helps you easily handle exceptions in your Ruby on Rails API and return informative responses to the client by serializing exceptions into JSON and other popular API formats and returning a response with a status code that makes sense based on the exception.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.2.1 - April 12, 2022 (12.5 KB)
  2. 0.2.0 - August 26, 2019 (12 KB)
  3. 0.1.0 - August 18, 2019 (10.5 KB)
  4. 0.1.0.rc - July 20, 2019 (8 KB)

Runtime Dependencies (3):

actionpack >= 5.0
activesupport >= 5.0
rack >= 1.0

Development Dependencies (5):

bundler ~> 2.0
pry-byebug >= 0
rake ~> 13.0
rspec-rails ~> 3.9
rubocop ~> 0.80.0

Owners:

Pushed by:

Authors:

  • James Stonehill

SHA 256 checksum:

b4d7b04ea8cafe8b1274137956f1e624e7669cedc35e685a0d03bfb75e2ad08f

Total downloads 36,187

For this version 18,272

License:

MIT

Required Ruby Version: >= 2.5

Links: