Exception: Restify::GatewayError
- Inherits:
-
ServerError
- Object
- StandardError
- ResponseError
- ServerError
- Restify::GatewayError
- Defined in:
- lib/restify/error.rb
Overview
A GatewayError is the common base class for 502, 503 and 504 response codes often used by load balancers when upstream servers are failing or not available.
This can be used to catch “common” gateway responses.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from ResponseError
Method Summary
Methods inherited from ResponseError
#code, #errors, from_code, #initialize, #status
Constructor Details
This class inherits a constructor from Restify::ResponseError