Class: Aws::B2bi::Errors::ValidationException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::B2bi::Errors::ValidationException
- Defined in:
- gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ValidationException
constructor
A new instance of ValidationException.
-
#message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ValidationException
Returns a new instance of ValidationException.
177 178 179 |
# File 'gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/errors.rb', line 177 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
182 183 184 |
# File 'gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/errors.rb', line 182 def @message || @data[:message] end |