MCPcopy Create free account
hub / github.com/3dugc/3D-Model-Optimizer / createTaskNotFoundError

Function createTaskNotFoundError

src/models/error.ts:234–240  ·  view source on GitHub ↗
(taskId: string)

Source from the content-addressed store, hash-verified

232 * @returns ErrorResponse for task not found
233 */
234export function createTaskNotFoundError(taskId: string): ErrorResponse {
235 return createErrorResponse(
236 ERROR_CODES.TASK_NOT_FOUND,
237 `Task with ID '${taskId}' was not found`,
238 { taskId }
239 );
240}
241
242/**
243 * Helper function to create an internal error response.

Callers

nothing calls this directly

Calls 1

createErrorResponseFunction · 0.70

Tested by

no test coverage detected