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.
106 107 108 109 |
# File 'lib/rubino/errors.rb', line 106 def initialize( = "payload too large", details: {}) super() @details = details end |
Instance Attribute Details
#details ⇒ Object (readonly)
Returns the value of attribute details.
110 111 112 |
# File 'lib/rubino/errors.rb', line 110 def details @details end |