Class: Aws::EFS::Errors::FileSystemAlreadyExists

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of FileSystemAlreadyExists.

Parameters:



219
220
221
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/errors.rb', line 219

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

Instance Method Details

#error_codeString

Returns:

  • (String)


224
225
226
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/errors.rb', line 224

def error_code
  @data[:error_code]
end

#file_system_idString

Returns:

  • (String)


234
235
236
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/errors.rb', line 234

def file_system_id
  @data[:file_system_id]
end

#messageString

Returns:

  • (String)


229
230
231
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/errors.rb', line 229

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