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