Class: Aws::EFS::Errors::IncorrectFileSystemLifeCycleState

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

Returns a new instance of IncorrectFileSystemLifeCycleState.

Parameters:



304
305
306
# File 'lib/aws-sdk-efs/errors.rb', line 304

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

Instance Method Details

#error_codeString

Returns:

  • (String)


309
310
311
# File 'lib/aws-sdk-efs/errors.rb', line 309

def error_code
  @data[:error_code]
end

#messageString

Returns:

  • (String)


314
315
316
# File 'lib/aws-sdk-efs/errors.rb', line 314

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