Exception: Async::Aws::Handler::TruncatedBodyError

Inherits:
IOError
  • Object
show all
Defined in:
lib/async/aws/handler.rb

Instance Method Summary collapse

Constructor Details

#initialize(bytes_expected, bytes_received) ⇒ TruncatedBodyError

Returns a new instance of TruncatedBodyError.



193
194
195
196
# File 'lib/async/aws/handler.rb', line 193

def initialize(bytes_expected, bytes_received)
  msg = "http response body truncated, expected #{bytes_expected} bytes, received #{bytes_received} bytes"
  super(msg)
end