Class: Aws::KeyspacesStreams::Errors::ValidationException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::KeyspacesStreams::Errors::ValidationException
- Defined in:
- gems/aws-sdk-keyspacesstreams/lib/aws-sdk-keyspacesstreams/errors.rb
Instance Method Summary collapse
-
#error_code ⇒ String
-
#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.
107 108 109 |
# File 'gems/aws-sdk-keyspacesstreams/lib/aws-sdk-keyspacesstreams/errors.rb', line 107 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_code ⇒ String
117 118 119 |
# File 'gems/aws-sdk-keyspacesstreams/lib/aws-sdk-keyspacesstreams/errors.rb', line 117 def error_code @data[:error_code] end |
#message ⇒ String
112 113 114 |
# File 'gems/aws-sdk-keyspacesstreams/lib/aws-sdk-keyspacesstreams/errors.rb', line 112 def @message || @data[:message] end |