Exception: HookSniff::LoopDetectedError
- Defined in:
- lib/hooksniff/errors.rb
Overview
508 Loop Detected
Instance Attribute Summary
Attributes inherited from ApiError
#code, #response_body, #response_headers
Instance Method Summary collapse
-
#initialize(response_headers: {}, response_body: nil) ⇒ LoopDetectedError
constructor
A new instance of LoopDetectedError.
Methods inherited from ApiError
Constructor Details
#initialize(response_headers: {}, response_body: nil) ⇒ LoopDetectedError
Returns a new instance of LoopDetectedError.
136 137 138 |
# File 'lib/hooksniff/errors.rb', line 136 def initialize(response_headers: {}, response_body: nil) super(code: 508, response_headers: response_headers, response_body: response_body) end |