Exception: Restify::GatewayError

Inherits:
ServerError show all
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

BadGateway, GatewayTimeout, ServiceUnavailable

Instance Attribute Summary

Attributes inherited from ResponseError

#response

Method Summary

Methods inherited from ResponseError

#code, #errors, from_code, #initialize, #status

Constructor Details

This class inherits a constructor from Restify::ResponseError