MCPcopy
hub / github.com/openclaw/clawsweeper / deserializeError

Function deserializeError

src/codex-process.ts:165–169  ·  view source on GitHub ↗
(value: { message: string; code?: string })

Source from the content-addressed store, hash-verified

163}
164
165function deserializeError(value: { message: string; code?: string }): Error {
166 const error = new Error(value.message);
167 if (value.code) (error as NodeJS.ErrnoException).code = value.code;
168 return error;
169}

Callers 1

deserializeProcessResultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected