class AWS::SQS::Errors::BatchSendError
Attributes
failures[R]
@return [Array<Hash>] Returns a list of hashes. Each hash
contains information about one message that was not sent. * `:error_code` - identifies the type of failure * `:error_message` - human readable description of the failure * `:sender_fault` - whether the failure was caused by a server fault * `:message_body` - the message body as passed to `:batch_send` * `:batch_index` - the index in the list of messages passed to `batch_send` of the failed message.
sent[R]
@return [Array<Queue::SentMessage>] Returns a list of
{Queue::SentMessage} objects.
Public Class Methods
new(sent, failures)
click to toggle source
Calls superclass method
# File lib/aws/sqs/errors.rb, line 77 def initialize sent, failures @sent = sent @failures = failures super("Failed to send #{failures.size} messages") end