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