Class: Aws::PcaConnectorAd::Errors::ValidationException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::PcaConnectorAd::Errors::ValidationException
- Defined in:
- lib/aws-sdk-pcaconnectorad/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.
201 202 203 |
# File 'lib/aws-sdk-pcaconnectorad/errors.rb', line 201 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
206 207 208 |
# File 'lib/aws-sdk-pcaconnectorad/errors.rb', line 206 def @message || @data[:message] end |
#reason ⇒ String
211 212 213 |
# File 'lib/aws-sdk-pcaconnectorad/errors.rb', line 211 def reason @data[:reason] end |