Class: Aws::MachineLearning::Errors::InvalidInputException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::MachineLearning::Errors::InvalidInputException
- Defined in:
- gems/aws-sdk-machinelearning/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.
90 91 92 |
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/errors.rb', line 90 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
100 101 102 |
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/errors.rb', line 100 def code @code || @data[:code] end |
#message ⇒ String
95 96 97 |
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/errors.rb', line 95 def @message || @data[:message] end |