MCPcopy Create free account
hub / github.com/PageLeay/celestial-runtime / throwError

Function throwError

lib.commonjs/abi/coders/abstract-coder.js:21–25  ·  view source on GitHub ↗
(name, error)

Source from the content-addressed store, hash-verified

19 resultNames.set(result, names);
20}
21function throwError(name, error) {
22 const wrapped = new Error(`deferred error during ABI decoding triggered accessing ${name}`);
23 wrapped.error = error;
24 throw wrapped;
25}
26function toObject(names, items, deep) {
27 if (names.indexOf(null) >= 0) {
28 return items.map((item, index) => {

Callers 5

constructorMethod · 0.70
toArrayMethod · 0.70
filterMethod · 0.70
mapMethod · 0.70
getValueMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected