MCPcopy Create free account
hub / github.com/agentrpc/agentrpc / isMinimumViableSerializedError

Function isMinimumViableSerializedError

sdk-node/src/serialize-error.js:217–224  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

215}
216
217function isMinimumViableSerializedError(value) {
218 return (
219 Boolean(value) &&
220 typeof value === "object" &&
221 "message" in value &&
222 !Array.isArray(value)
223 );
224}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected