Exception: Aws::Errors::MissingContentLength
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Aws::Errors::MissingContentLength
- Defined in:
- gems/aws-sdk-core/lib/aws-sdk-core/errors.rb
Overview
Raised when a streaming
operation has requiresLength
trait
enabled but request payload size/length cannot be calculated
Instance Method Summary collapse
-
#initialize(*args) ⇒ MissingContentLength
constructor
A new instance of MissingContentLength.
Constructor Details
#initialize(*args) ⇒ MissingContentLength
Returns a new instance of MissingContentLength.
65 66 67 68 |
# File 'gems/aws-sdk-core/lib/aws-sdk-core/errors.rb', line 65 def initialize(*args) msg = 'Required `Content-Length` value missing for the request.' super(msg) end |