Exception: Gateway::BadGateway
- Defined in:
- lib/gateway/errors.rb
Overview
When backend did not send back an (processible) response. Usually when connection is dropped.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(msg) ⇒ BadGateway
constructor
A new instance of BadGateway.
Methods inherited from Error
Constructor Details
#initialize(msg) ⇒ BadGateway
Returns a new instance of BadGateway.
22 23 24 25 |
# File 'lib/gateway/errors.rb', line 22 def initialize(msg) super self.status = "502" end |