Class: Aws::QBusiness::Errors::ValidationException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::QBusiness::Errors::ValidationException
- Defined in:
- lib/aws-sdk-qbusiness/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.
217 218 219 |
# File 'lib/aws-sdk-qbusiness/errors.rb', line 217 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#fields ⇒ String
232 233 234 |
# File 'lib/aws-sdk-qbusiness/errors.rb', line 232 def fields @data[:fields] end |
#message ⇒ String
222 223 224 |
# File 'lib/aws-sdk-qbusiness/errors.rb', line 222 def @message || @data[:message] end |
#reason ⇒ String
227 228 229 |
# File 'lib/aws-sdk-qbusiness/errors.rb', line 227 def reason @data[:reason] end |