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