MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / error

Method error

daily/ydyp.js:56–73  ·  view source on GitHub ↗
(...r)

Source from the content-addressed store, hash-verified

54 t.#o < 4 || (e = e.map(e => `🅱️ ${e}`), t.log(...e))
55 };
56 static error(...r) {
57 if (!(t.#o < 1)) {
58 switch (e) {
59 case "Surge":
60 case "Loon":
61 case "Stash":
62 case "Egern":
63 case "Shadowrocket":
64 case "Quantumult X":
65 default:
66 r = r.map(e => `❌ ${e}`);
67 break;
68 case "Node.js":
69 r = r.map(e => `❌ ${e.stack}`)
70 }
71 t.log(...r)
72 }
73 }
74 static exception = (...e) => t.error(...e);
75 static group = e => t.#t.unshift(e);
76 static groupEnd = () => t.#t.shift();

Callers 12

readFileMethod · 0.45
sendMsgMethod · 0.45
wx_xlxyh.jsFile · 0.45
decryptByHookingEvalMethod · 0.45
tClass · 0.45
nFunction · 0.45
ydyp.jsFile · 0.45
_refresh_access_tokenMethod · 0.45
mainFunction · 0.45
get_integralMethod · 0.45
sign_inMethod · 0.45
mainFunction · 0.45

Calls 1

logMethod · 0.45

Tested by

no test coverage detected