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

Function throwCode

packages/core/src/app/createApp/guards.ts:23–25  ·  view source on GitHub ↗
(code: ZrUiErrorCode, detail: string)

Source from the content-addressed store, hash-verified

21
22export function createAppGuards(options: CreateAppGuardsOptions): AppGuards {
23 function throwCode(code: ZrUiErrorCode, detail: string): never {
24 throw new ZrUiError(code, detail);
25 }
26
27 function assertOperational(method: string): void {
28 const st = options.getRuntimeState();

Callers 5

assertOperationalFunction · 0.85
assertLifecycleIdleFunction · 0.85
assertNotReentrantFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected