Class: Aws::EFS::Errors::SecurityGroupNotFound

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

Returns a new instance of SecurityGroupNotFound.

Parameters:



584
585
586
# File 'lib/aws-sdk-efs/errors.rb', line 584

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

Instance Method Details

#error_codeString

Returns:

  • (String)


589
590
591
# File 'lib/aws-sdk-efs/errors.rb', line 589

def error_code
  @data[:error_code]
end

#messageString

Returns:

  • (String)


594
595
596
# File 'lib/aws-sdk-efs/errors.rb', line 594

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