Class: Aws::DynamoDB::Errors::ReplicaNotFoundException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ReplicaNotFoundException.

Parameters:


356
357
358
# File 'lib/aws-sdk-dynamodb/errors.rb', line 356

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

Instance Method Details

#messageString

Returns:

  • (String)

361
362
363
# File 'lib/aws-sdk-dynamodb/errors.rb', line 361

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