Exception: HookSniff::PayloadTooLargeError
- Defined in:
- lib/hooksniff/errors.rb
Overview
413 Payload Too Large
Instance Attribute Summary
Attributes inherited from ApiError
#code, #response_body, #response_headers
Instance Method Summary collapse
-
#initialize(response_headers: {}, response_body: nil) ⇒ PayloadTooLargeError
constructor
A new instance of PayloadTooLargeError.
Methods inherited from ApiError
Constructor Details
#initialize(response_headers: {}, response_body: nil) ⇒ PayloadTooLargeError
Returns a new instance of PayloadTooLargeError.
67 68 69 |
# File 'lib/hooksniff/errors.rb', line 67 def initialize(response_headers: {}, response_body: nil) super(code: 413, response_headers: response_headers, response_body: response_body) end |