MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / failWith

Function failWith

packages/node/src/backend/nodeBackendInline.ts:349–356  ·  view source on GitHub ↗
(where: string, code: number, detail: string)

Source from the content-addressed store, hash-verified

347 }
348
349 function failWith(where: string, code: number, detail: string): void {
350 if (frameAudit.enabled) {
351 frameAudit.emit("fatal", { where, code, detail });
352 }
353 const err = new ZrUiError("ZRUI_BACKEND_ERROR", `${where} (${String(code)}): ${detail}`);
354 fatal = err;
355 rejectWaiters(err);
356 }
357
358 function clearPollLoop(): void {
359 if (pollTimer !== null) {

Callers 1

runPollOnceFunction · 0.85

Calls 2

rejectWaitersFunction · 0.85
emitMethod · 0.45

Tested by

no test coverage detected