Class: Aws::EFS::Errors::FileSystemInUse

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) ⇒ FileSystemInUse

Returns a new instance of FileSystemInUse.

Parameters:



244
245
246
# File 'lib/aws-sdk-efs/errors.rb', line 244

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

Instance Method Details

#error_codeString

Returns:

  • (String)


249
250
251
# File 'lib/aws-sdk-efs/errors.rb', line 249

def error_code
  @data[:error_code]
end

#messageString

Returns:

  • (String)


254
255
256
# File 'lib/aws-sdk-efs/errors.rb', line 254

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