Exception: HookSniff::BadGatewayError
- Defined in:
- lib/hooksniff/errors.rb
Overview
502 Bad Gateway
Instance Attribute Summary
Attributes inherited from ApiError
#code, #response_body, #response_headers
Instance Method Summary collapse
-
#initialize(response_headers: {}, response_body: nil) ⇒ BadGatewayError
constructor
A new instance of BadGatewayError.
Methods inherited from ApiError
Constructor Details
#initialize(response_headers: {}, response_body: nil) ⇒ BadGatewayError
Returns a new instance of BadGatewayError.
108 109 110 |
# File 'lib/hooksniff/errors.rb', line 108 def initialize(response_headers: {}, response_body: nil) super(code: 502, response_headers: response_headers, response_body: response_body) end |