Returns a list of error objects in the batch. The order of the list corresponds to the order of the request objects that produced the errors.
()
| 115 | * errors. |
| 116 | */ |
| 117 | public List<APIException> errors() { |
| 118 | List<APIException> res = new ArrayList<>(); |
| 119 | res.addAll(errorsByIndex.values()); |
| 120 | return res; |
| 121 | } |
| 122 | |
| 123 | /** |
| 124 | * Returns a map of success responses, keyed by the index of the request |
no outgoing calls