Class: Aws::EFS::Errors::ValidationException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::EFS::Errors::ValidationException
- Defined in:
- lib/aws-sdk-efs/errors.rb
Instance Method Summary collapse
- #error_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ValidationException
constructor
A new instance of ValidationException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ValidationException
Returns a new instance of ValidationException.
704 705 706 |
# File 'lib/aws-sdk-efs/errors.rb', line 704 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_code ⇒ String
709 710 711 |
# File 'lib/aws-sdk-efs/errors.rb', line 709 def error_code @data[:error_code] end |
#message ⇒ String
714 715 716 |
# File 'lib/aws-sdk-efs/errors.rb', line 714 def @message || @data[:message] end |