Class: Aws::EMR::Errors::InvalidRequestException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::EMR::Errors::InvalidRequestException
- Defined in:
- lib/aws-sdk-emr/errors.rb
Instance Method Summary collapse
- #error_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidRequestException
constructor
A new instance of InvalidRequestException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidRequestException
Returns a new instance of InvalidRequestException.
70 71 72 |
# File 'lib/aws-sdk-emr/errors.rb', line 70 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_code ⇒ String
75 76 77 |
# File 'lib/aws-sdk-emr/errors.rb', line 75 def error_code @data[:error_code] end |
#message ⇒ String
80 81 82 |
# File 'lib/aws-sdk-emr/errors.rb', line 80 def @message || @data[:message] end |