olivere/elastic — pull request #18 by nicbaz (2014-12-30 16:59:50+00:00)
Title: Add Errored in BulkResponse

Store BulkResponseItem Error, add a method to return all errored items
of a BulkRequest

Since I can't force ES to throw errors, I wasn't able to include proper tests. Have you thought about using a mock objects, the HttpClient for instance ?