MCPcopy
hub / github.com/continuedev/continue / getErrorString

Function getErrorString

extensions/cli/src/util/error.ts:1–6  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

1export function getErrorString(error: unknown) {
2 if (error instanceof Error) {
3 return error.message;
4 }
5 return String(error);
6}

Callers 8

connectServerMethod · 0.85
shutdownConnectionMethod · 0.85
processModelsMethod · 0.85
processMcpServersMethod · 0.85
processAgentFileRulesMethod · 0.85
getAgentFileMethod · 0.85
handleBashModeProcessingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected