Exception: Async::Aws::Handler::TruncatedBodyError
- Inherits:
-
IOError
- Object
- IOError
- Async::Aws::Handler::TruncatedBodyError
- Defined in:
- lib/async/aws/handler.rb
Instance Method Summary collapse
-
#initialize(bytes_expected, bytes_received) ⇒ TruncatedBodyError
constructor
A new instance of TruncatedBodyError.
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 |