Exception: AWS::SQS::Errors::BatchChangeVisibilityError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/aws/sqs/errors.rb

Overview

Raised from a batch change message visibility call when one or more of the updates fail.

See #failures for a complete list of failures.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(failures) ⇒ BatchChangeVisibilityError



57
58
59
60
# File 'lib/aws/sqs/errors.rb', line 57

def initialize failures
  @failures = failures
  super("Failed to change visibility for #{failures.size} messages")
end

Instance Attribute Details

#failuresArray<Hash> (readonly)



71
72
73
# File 'lib/aws/sqs/errors.rb', line 71

def failures
  @failures
end