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.



75
76
77
78
# File 'lib/rubino/errors.rb', line 75

def initialize(message = "payload too large", details: {})
  super(message)
  @details = details
end

Instance Attribute Details

#detailsObject (readonly)

Returns the value of attribute details.



79
80
81
# File 'lib/rubino/errors.rb', line 79

def details
  @details
end