(taskId: string)
| 232 | * @returns ErrorResponse for task not found |
| 233 | */ |
| 234 | export 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. |
nothing calls this directly
no test coverage detected