Skip to content

Function: deserializeTransportError()

Makaio Framework


Makaio Framework / bus-core / deserializeTransportError

deserializeTransportError(transportError): Error

Defined in: ../../../packages/bus-core/src/utils/transport.ts:212

Reconstruct an Error from a structured transport error payload.

Preserves code and arbitrary data properties so callers can inspect them for programmatic error handling.

BusTransportError

The structured error received over the wire

Error

An Error with code and data properties attached