Exception: Aws::S3::Plugins::NonRetryableStreamingError

Inherits:
StandardError
  • Object
show all
Defined in:
gems/aws-sdk-s3/lib/aws-sdk-s3/plugins/streaming_retry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ NonRetryableStreamingError

Returns a new instance of NonRetryableStreamingError.



41
42
43
44
45
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/plugins/streaming_retry.rb', line 41

def initialize(error)
  super('Unable to retry request - retry could result in processing duplicated chunks.')
  set_backtrace(error.backtrace)
  @original_error = error
end

Instance Attribute Details

#original_errorObject (readonly)

Returns the value of attribute original_error.



47
48
49
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/plugins/streaming_retry.rb', line 47

def original_error
  @original_error
end