'Initializer.
Args:
message: A message detailing the cause of the failure to index some
document.
results: A list of PutResult corresponding to the list of objects
requested to be indexed.'

def __init__(self, message, results):

    super(PutError, self).__init__(message)
    self._results = results
