Skip to content

Function: serializeTransportError()

Makaio Framework


Makaio Framework / bus-core / 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.

unknown

The error to serialize

BusTransportError

Structured error payload