Skip to content
1 min read · 52 words

Function: wireErrorToError()

ts
function wireErrorToError(wireError: WireError): Error;

Defined in: src/batteries/isolation/protocol.ts:269

Reconstruct an Error from a WireError baseline (name/message/stack only — the nhtio-rich path is decoded separately by the caller when an encoder is available; see host.ts).

Parameters

ParameterType
wireErrorWireError

Returns

Error