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