MCPcopy
hub / github.com/callumalpass/tasknotes / getErrorMessage

Method getErrorMessage

src/services/MCPService.ts:238–240  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

236 }
237
238 private getErrorMessage(error: unknown): string {
239 return error instanceof Error ? error.message : String(error);
240 }
241
242 private getToolRegistrar(server: McpServer): McpToolRegistrar {
243 return server.registerTool.bind(server) as McpToolRegistrar;

Callers 15

registerTaskToolsMethod · 0.95
registerFilterToolsMethod · 0.95
registerPomodoroToolsMethod · 0.95
registerCalendarToolsMethod · 0.95
registerSystemToolsMethod · 0.95
startPomodoroMethod · 0.45
stopPomodoroMethod · 0.45
pausePomodoroMethod · 0.45
resumePomodoroMethod · 0.45
getPomodoroStatusMethod · 0.45
getPomodoroSessionsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected