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

Function errorMessage

orchestrate/skills/orchestrate/scripts/cli/util.ts:325–327  ·  view source on GitHub ↗
(err: unknown)

Source from the content-addressed store, hash-verified

323}
324
325export function errorMessage(err: unknown): string {
326 return err instanceof Error ? err.message : String(err);
327}
328
329export function errorStackOrMessage(err: unknown): string {
330 if (err instanceof Error) return err.stack ?? err.message;

Callers 5

registerTaskCommandsFunction · 0.90
registerCommentCommandsFunction · 0.90
registerAndonCommandsFunction · 0.90
crawlBranchFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected