MCPcopy Create free account
hub / github.com/omkarcloud/botasaurus / createTaskNotFoundError

Function createTaskNotFoundError

js/botasaurus-server-js/src/validation.ts:34–39  ·  view source on GitHub ↗
(taskId: number)

Source from the content-addressed store, hash-verified

32}
33
34export function createTaskNotFoundError(taskId: number): JsonHTTPResponseWithMessage {
35 return new JsonHTTPResponseWithMessage(
36 `Task ${taskId} not found`,
37 404
38 );
39}
40
41export function deepCloneDict(originalDict: any): any {
42 if (!isObject(originalDict)) {

Callers 5

getTaskFromDbFunction · 0.90
performGetUiTaskResultsFunction · 0.90
performGetTaskResultsFunction · 0.90
executeIsTaskUpdatedFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected