rulvar API reference / @rulvar/rulvar / agentErrorFromWire
Function: agentErrorFromWire()
ts
function agentErrorFromWire(wire): AgentError;Defined in: packages/core/dist/index.d.ts
Reads an AgentError back from its WireError projection. Throws a ConfigError when the wire code is not 'agent'.
Parameters
| Parameter | Type |
|---|---|
wire | WireError |