Class: Aws::CloudDirectory::Errors::BatchWriteException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudDirectory::Errors::BatchWriteException
- Defined in:
- lib/aws-sdk-clouddirectory/errors.rb
Instance Method Summary collapse
- #index ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ BatchWriteException
constructor
A new instance of BatchWriteException.
- #message ⇒ String
- #type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ BatchWriteException
Returns a new instance of BatchWriteException.
92 93 94 |
# File 'lib/aws-sdk-clouddirectory/errors.rb', line 92 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#index ⇒ String
97 98 99 |
# File 'lib/aws-sdk-clouddirectory/errors.rb', line 97 def index @data[:index] end |
#message ⇒ String
107 108 109 |
# File 'lib/aws-sdk-clouddirectory/errors.rb', line 107 def @message || @data[:message] end |
#type ⇒ String
102 103 104 |
# File 'lib/aws-sdk-clouddirectory/errors.rb', line 102 def type @data[:type] end |