Class: Aws::LookoutMetrics::Errors::ValidationException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::LookoutMetrics::Errors::ValidationException
- Defined in:
- lib/aws-sdk-lookoutmetrics/errors.rb
Instance Method Summary collapse
- #fields ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ValidationException
constructor
A new instance of ValidationException.
- #message ⇒ String
- #reason ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ValidationException
Returns a new instance of ValidationException.
179 180 181 |
# File 'lib/aws-sdk-lookoutmetrics/errors.rb', line 179 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#fields ⇒ String
194 195 196 |
# File 'lib/aws-sdk-lookoutmetrics/errors.rb', line 194 def fields @data[:fields] end |
#message ⇒ String
184 185 186 |
# File 'lib/aws-sdk-lookoutmetrics/errors.rb', line 184 def @message || @data[:message] end |
#reason ⇒ String
189 190 191 |
# File 'lib/aws-sdk-lookoutmetrics/errors.rb', line 189 def reason @data[:reason] end |