Class: Aws::TimestreamInfluxDB::Errors::ValidationException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::TimestreamInfluxDB::Errors::ValidationException
- Defined in:
- lib/aws-sdk-timestreaminfluxdb/errors.rb
Instance Method Summary collapse
-
#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.
172 173 174 |
# File 'lib/aws-sdk-timestreaminfluxdb/errors.rb', line 172 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
177 178 179 |
# File 'lib/aws-sdk-timestreaminfluxdb/errors.rb', line 177 def @message || @data[:message] end |
#reason ⇒ String
182 183 184 |
# File 'lib/aws-sdk-timestreaminfluxdb/errors.rb', line 182 def reason @data[:reason] end |