Function: serializeTransportError()
Makaio Framework / bus-core / serializeTransportError
Function: serializeTransportError()
Section titled “Function: serializeTransportError()”serializeTransportError(
error):BusTransportError
Defined in: ../../../packages/bus-core/src/utils/transport-helpers.ts:172
Serialize an error into a transport-safe structure.
Preserves subject alongside code so that isNoHandlerErrorForSubject
can match deserialized errors without fragile message-string comparisons.
Parameters
Section titled “Parameters”unknown
The error to serialize
Returns
Section titled “Returns”Structured error payload