Interface: PreloadGuardDiagnosticsReport
Defined in: shared/types/ipc.ts:102
Structured payload emitted when a preload guard rejects an incoming event.
Remarksโ
Enables centralized diagnostics by forwarding guard failures, along with contextual metadata, to the Electron main process.
Propertiesโ
channelโ
channel:
string
Defined in: shared/types/ipc.ts:104
IPC channel associated with the rejected payload.
guardโ
guard:
string
Defined in: shared/types/ipc.ts:106
Name of the guard function that rejected the payload.
metadata?โ
optionalmetadata:Record<string,unknown>
Defined in: shared/types/ipc.ts:108
Additional metadata describing the guard context.
payloadPreview?โ
optionalpayloadPreview:string
Defined in: shared/types/ipc.ts:110
Serialized preview of the rejected payload for debugging.
reason?โ
optionalreason:string
Defined in: shared/types/ipc.ts:112
Optional human-readable reason supplied by the guard.
timestampโ
timestamp:
number
Defined in: shared/types/ipc.ts:114
Timestamp (milliseconds since Unix epoch) when the guard triggered.