Class: Response::RaiseGheeError
- Inherits:
-
Middleware
- Object
- Middleware
- Response::RaiseGheeError
- Defined in:
- lib/ghee/errors.rb
Constant Summary collapse
- ERROR_MAP =
{ 400 => Ghee::BadRequest, 401 => Ghee::Unauthorized, 403 => Ghee::Forbidden, 406 => Ghee::NotAcceptable, 422 => Ghee::UnprocessableEntity, 500 => Ghee::InternalServerError, 501 => Ghee::NotImplemented, 502 => Ghee::BadGateway, 503 => Ghee::ServiceUnavailable }