Class: Aws::SSM::Errors::ValidationException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SSM::Errors::ValidationException
- Defined in:
- lib/aws-sdk-ssm/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ValidationException
constructor
A new instance of ValidationException.
- #message ⇒ String
- #reason_code ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ValidationException
Returns a new instance of ValidationException.
2197 2198 2199 |
# File 'lib/aws-sdk-ssm/errors.rb', line 2197 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
2202 2203 2204 |
# File 'lib/aws-sdk-ssm/errors.rb', line 2202 def @message || @data[:message] end |
#reason_code ⇒ String
2207 2208 2209 |
# File 'lib/aws-sdk-ssm/errors.rb', line 2207 def reason_code @data[:reason_code] end |