Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
82
const
getErrorConstructor = (name) => errorConstructors.get(name) ?? Error;
83
84
// eslint-disable-next-line complexity
85
const
destroyCircular = ({
Callers
1
destroyCircular
Function · 0.85
Calls
1
get
Method · 0.80
Tested by
no test coverage detected