Exception: HookSniff::PayloadTooLargeError
- Defined in:
- lib/hooksniff/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = "Payload too large") ⇒ PayloadTooLargeError
constructor
A new instance of PayloadTooLargeError.
Constructor Details
#initialize(message = "Payload too large") ⇒ PayloadTooLargeError
Returns a new instance of PayloadTooLargeError.
39 40 41 |
# File 'lib/hooksniff/errors.rb', line 39 def initialize( = "Payload too large") super(, status_code: 413, error_code: "PAYLOAD_TOO_LARGE") end |