Exception: Rubino::PayloadTooLargeError
- Defined in:
- lib/rubino/errors.rb
Overview
Request body exceeded the configured byte cap (JSON or multipart upload). Maps to 413. Details may carry limit_bytes so clients can adapt.
Instance Attribute Summary collapse
-
#details ⇒ Object
readonly
Returns the value of attribute details.
Instance Method Summary collapse
-
#initialize(message = "payload too large", details: {}) ⇒ PayloadTooLargeError
constructor
A new instance of PayloadTooLargeError.
Constructor Details
#initialize(message = "payload too large", details: {}) ⇒ PayloadTooLargeError
Returns a new instance of PayloadTooLargeError.
75 76 77 78 |
# File 'lib/rubino/errors.rb', line 75 def initialize( = "payload too large", details: {}) super() @details = details end |
Instance Attribute Details
#details ⇒ Object (readonly)
Returns the value of attribute details.
79 80 81 |
# File 'lib/rubino/errors.rb', line 79 def details @details end |