Class: Aws::EFS::Errors::MountTargetConflict

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of MountTargetConflict.

Parameters:



424
425
426
# File 'lib/aws-sdk-efs/errors.rb', line 424

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

Instance Method Details

#error_codeString

Returns:

  • (String)


429
430
431
# File 'lib/aws-sdk-efs/errors.rb', line 429

def error_code
  @data[:error_code]
end

#messageString

Returns:

  • (String)


434
435
436
# File 'lib/aws-sdk-efs/errors.rb', line 434

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