Skip to main content

Variable: PluginRuntimeFatalDiagnosticBodySchema

const PluginRuntimeFatalDiagnosticBodySchema: TObject<{ envelope: TObject<{ kind: TUnion<[TLiteral<"uncaught-exception">, TLiteral<"unhandled-rejection">]>; message: TString; name: TString; stack: TOptional<TString>; }>; workerEpoch: TInteger; workerId: TInteger; }>

Defined in: packages/contracts/src/pluginRuntime.ts:804

FATAL_DIAGNOSTIC control payload (runtime -> host, §9.1.4). envelope is the bounded fatal record of the dying worker; the frame is emitted as soon as the bridge message arrives and never waits for log credits.