MCPcopy Create free account
hub / github.com/cursor/plugins / errorMessage

Function errorMessage

orchestrate/skills/orchestrate/scripts/core/agent-manager.ts:2093–2095  ·  view source on GitHub ↗
(err: unknown)

Source from the content-addressed store, hash-verified

2091}
2092
2093function errorMessage(err: unknown): string {
2094 return err instanceof Error ? err.message : String(err);
2095}
2096
2097// The SDK has used both `error` and `errorMessage` over its lifetime
2098// and sometimes passes the reason through `result`. Pull whichever is

Callers 8

recoverRunningMethod · 0.70
recordRecoverFailureMethod · 0.70
waitAndHandoffMethod · 0.70
stopTaskMethod · 0.70
enqueueSlackMirrorMethod · 0.70
commitStateSnapshotMethod · 0.70
ensureSlackKickoffFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected