Class: Aws::InspectorScan::Errors::ValidationException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::InspectorScan::Errors::ValidationException
- Defined in:
- lib/aws-sdk-inspectorscan/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.
118 119 120 |
# File 'lib/aws-sdk-inspectorscan/errors.rb', line 118 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#fields ⇒ String
133 134 135 |
# File 'lib/aws-sdk-inspectorscan/errors.rb', line 133 def fields @data[:fields] end |
#message ⇒ String
123 124 125 |
# File 'lib/aws-sdk-inspectorscan/errors.rb', line 123 def @message || @data[:message] end |
#reason ⇒ String
128 129 130 |
# File 'lib/aws-sdk-inspectorscan/errors.rb', line 128 def reason @data[:reason] end |