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

Method errorResponse

src/services/HTTPAPIService.ts:216–218  ·  view source on GitHub ↗
(error: string)

Source from the content-addressed store, hash-verified

214 }
215
216 private errorResponse(error: string): { success: boolean; error: string } {
217 return { success: false, error };
218 }
219
220 private async handleRequest(req: HTTPRequestLike, res: HTTPResponseLike): Promise<void> {
221 try {

Callers 15

handleRequestMethod · 0.95
startMethod · 0.95
startPomodoroMethod · 0.80
stopPomodoroMethod · 0.80
pausePomodoroMethod · 0.80
resumePomodoroMethod · 0.80
getPomodoroStatusMethod · 0.80
getPomodoroSessionsMethod · 0.80
getPomodoroStatsMethod · 0.80
getTasksMethod · 0.80
createTaskMethod · 0.80
getTaskMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected