module AccessLint
  module Rails
    class ErrorsController < AccessLint::Rails::ApplicationController
      def create
        head :ok
      end
    end
  end
end

module AccessLint
  module Rails
    class Error < Exception; end

    class ErrorsController < AccessLint::Rails::ApplicationController
      def create
        raise Error, params.fetch(:results)

        head :ok
      end
    end
  end
end

Raise exception with the accessibility results
Raise exception with the accessibility results

- This error should be captures by the host applications exception handler.
