Module: Onsi::ErrorResponder

Extended by:
ActiveSupport::Concern
Defined in:
lib/onsi/error_responder.rb

Overview

Note:

Also includes Onsi::ErrorResponderBase but will add a StandardError handler.

Handles default errors and builds JSON-API responses.

Examples:

class PeopleController < ApplicationController
  include Onsi::Controller
  include Onsi::ErrorResponder

  # ...
end