Class: Aws::SQS::Errors::QueueNameExists

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-sqs/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ QueueNameExists

Returns a new instance of QueueNameExists.

Parameters:



390
391
392
# File 'lib/aws-sdk-sqs/errors.rb', line 390

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


395
396
397
# File 'lib/aws-sdk-sqs/errors.rb', line 395

def message
  @message || @data[:message]
end