Class: Aws::EFS::Errors::ValidationException

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

Returns a new instance of ValidationException.

Parameters:



704
705
706
# File 'lib/aws-sdk-efs/errors.rb', line 704

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

Instance Method Details

#error_codeString

Returns:

  • (String)


709
710
711
# File 'lib/aws-sdk-efs/errors.rb', line 709

def error_code
  @data[:error_code]
end

#messageString

Returns:

  • (String)


714
715
716
# File 'lib/aws-sdk-efs/errors.rb', line 714

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