SerializeReportEventOptions
SerializeReportEventOptions =
object
Defined in: packages/app-report/src/util/serialize-event.ts:32
Boundary-only serialization hooks, applied where an event must cross a
transport (NDJSON, HTTP, a worker/child-process boundary) — never on the
in-process hot path, which keeps the raw error: unknown untouched.
BigInt, circular references and Error objects are already handled by
@ac-kit/core’s jsonSerializeSafe; these hooks only need to cover anything
beyond that default behaviour.
Properties
Section titled “Properties”error?
Section titled “error?”
optionalerror?:SerializeErrorFn
Defined in: packages/app-report/src/util/serialize-event.ts:34
Transform applied to a scope-end event’s error before serialization.
optionalmode?:SerializeMode
Defined in: packages/app-report/src/util/serialize-event.ts:40
Default "json".
value?
Section titled “value?”
optionalvalue?:JsonReplacerFunction
Defined in: packages/app-report/src/util/serialize-event.ts:37
Additional replacer applied on top of @ac-kit/core’s safe defaults.