MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / Fail

Function Fail

ses.cjs:340–346  ·  view source on GitHub ↗
(literals, ...args)

Source from the content-addressed store, hash-verified

338const q= JSON.stringify;
339
340const Fail= (literals, ...args)=> {
341 let msg= literals[0];
342 for( let i= 0; i< args.length; i+= 1) {
343 msg= `${msg}${args[i]}${literals[i+ 1] }`;
344 }
345 throw Error(msg);
346 };
347
348// end prelude
349// /////////////////////////////////////////////////////////////////////////////

Callers 13

getEnvironmentOptionFunction · 0.85
assertTypeofFunction · 0.85
localeCompareFunction · 0.85
tameLocaleMethodsFunction · 0.85
makeFunctionConstructorFunction · 0.85
getFunction · 0.85
allowNextEvalToBeUnsafeFunction · 0.85
safeEvaluateFunction · 0.85

Calls 2

ErrorInterface · 0.85
failFunction · 0.85

Tested by

no test coverage detected