Exception: HookSniff::InternalServerError
- Defined in:
- lib/hooksniff/errors.rb
Overview
500 Internal Server Error
Instance Attribute Summary
Attributes inherited from ApiError
#code, #response_body, #response_headers
Instance Method Summary collapse
-
#initialize(response_headers: {}, response_body: nil) ⇒ InternalServerError
constructor
A new instance of InternalServerError.
Methods inherited from ApiError
Constructor Details
#initialize(response_headers: {}, response_body: nil) ⇒ InternalServerError
Returns a new instance of InternalServerError.
94 95 96 |
# File 'lib/hooksniff/errors.rb', line 94 def initialize(response_headers: {}, response_body: nil) super(code: 500, response_headers: response_headers, response_body: response_body) end |