Class: Aws::EFS::Errors::ReplicationAlreadyExists
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::EFS::Errors::ReplicationAlreadyExists
- Defined in:
- lib/aws-sdk-efs/errors.rb
Instance Method Summary collapse
- #error_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ReplicationAlreadyExists
constructor
A new instance of ReplicationAlreadyExists.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ReplicationAlreadyExists
Returns a new instance of ReplicationAlreadyExists.
524 525 526 |
# File 'lib/aws-sdk-efs/errors.rb', line 524 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_code ⇒ String
529 530 531 |
# File 'lib/aws-sdk-efs/errors.rb', line 529 def error_code @data[:error_code] end |
#message ⇒ String
534 535 536 |
# File 'lib/aws-sdk-efs/errors.rb', line 534 def @message || @data[:message] end |