Exception: Rubino::PayloadTooLargeError

Inherits:
Error
  • Object
show all
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

Instance Method Summary collapse

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(message = "payload too large", details: {})
  super(message)
  @details = details
end

Instance Attribute Details

#detailsObject (readonly)

Returns the value of attribute details.



110
111
112
# File 'lib/rubino/errors.rb', line 110

def details
  @details
end