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

Function getErrorConstructor

sdk-node/src/serialize-error.js:82–82  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

80};
81
82const getErrorConstructor = (name) => errorConstructors.get(name) ?? Error;
83
84// eslint-disable-next-line complexity
85const destroyCircular = ({

Callers 1

destroyCircularFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected