Перейти к основному содержимому

Variable: PluginRuntimeFatalEnvelopeSchema

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

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

Bounded fatal diagnostic envelope (§9.1.4, §40.1.1): what a dying worker can still say about an uncaught exception or unhandled rejection. Small by construction (PLUGIN_RUNTIME_FATAL_MAX_BYTES) and carried on the reserved FATAL_DIAGNOSTIC path — never displaced by ordinary log flood.