MCPcopy Index your code
hub / github.com/chain/Core / isError

Method isError

sdk/java/src/main/java/com/chain/http/BatchResponse.java:97–99  ·  view source on GitHub ↗

Returns whether the request object at the given index produced an error. @param index the index of the request object

(int index)

Source from the content-addressed store, hash-verified

95 * @param index the index of the request object
96 */
97 public boolean isError(int index) {
98 return errorsByIndex.containsKey(index);
99 }
100
101 /**
102 * Returns a list of successful response objects in the batch. The order of

Callers 4

accountTagsMethod · 0.80
assetTagsMethod · 0.80
testBatchTransactionMethod · 0.80
mainMethod · 0.80

Calls

no outgoing calls

Tested by 3

accountTagsMethod · 0.64
assetTagsMethod · 0.64
testBatchTransactionMethod · 0.64