Class: Aws::CloudDirectory::Errors::BatchWriteException

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-clouddirectory/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ BatchWriteException

Returns a new instance of BatchWriteException.

Parameters:



92
93
94
# File 'lib/aws-sdk-clouddirectory/errors.rb', line 92

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#indexString

Returns:

  • (String)


97
98
99
# File 'lib/aws-sdk-clouddirectory/errors.rb', line 97

def index
  @data[:index]
end

#messageString

Returns:

  • (String)


107
108
109
# File 'lib/aws-sdk-clouddirectory/errors.rb', line 107

def message
  @message || @data[:message]
end

#typeString

Returns:

  • (String)


102
103
104
# File 'lib/aws-sdk-clouddirectory/errors.rb', line 102

def type
  @data[:type]
end