Exception: JsonApiServer::BadRequest
- Inherits:
-
StandardError
- Object
- StandardError
- JsonApiServer::BadRequest
- Defined in:
- lib/json_api_server/exceptions.rb
Overview
Exception thrown when something unsupported is requested, i.e., sort by a field that’s not supported. If JsonApiServer::Controller::ErrorHandling is included in the controller, it will rescue and render a 400 error.