Class: Aws::DynamoDB::Errors::ResourceInUseException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ResourceInUseException.

Parameters:



455
456
457
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/errors.rb', line 455

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

Instance Method Details

#messageString

Returns:

  • (String)


460
461
462
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/errors.rb', line 460

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