MCPcopy Create free account
hub / github.com/Noumena-Network/code / errorMessage

Function errorMessage

src/tools/AgentToolRuntime.test.ts:321–323  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

319 mock.module(errorsPath, () => ({
320 AbortError: class AbortError extends Error {},
321 errorMessage(error: unknown) {
322 return error instanceof Error ? error.message : String(error)
323 },
324 toError(error: unknown) {
325 return error instanceof Error ? error : new Error(String(error))
326 },

Callers 13

executeRemoteSkillFunction · 0.50
callFunction · 0.50
callFunction · 0.50
areFileEditsEquivalentFunction · 0.50
runWorkflowAgentTaskFunction · 0.50
runWorkflowLifecycleFunction · 0.50
callFunction · 0.50
handleSpawnFunction · 0.50
runAsyncAgentLifecycleFunction · 0.50
callFunction · 0.50
formatUriFunction · 0.50
callFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected