Function: deserializeTransportError()
Makaio Framework / bus-core / deserializeTransportError
Function: deserializeTransportError()
Section titled “Function: 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.
Parameters
Section titled “Parameters”transportError
Section titled “transportError”The structured error received over the wire
Returns
Section titled “Returns”Error
An Error with code and data properties attached