Files
klz-cables.com/.pnpm-store/v10/files/5e/c6f6ca87419813d673108f7f219a2a89bfb20fa442d816b574243636316ed09e74d5b760971d4d3a25c2b45d0d4f3ed9d0a4ace7b15fa519f3dbfbbb861f01
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

1 line
1.8 KiB
Plaintext

{"version":3,"sources":["../../../src/queues/errors/index.ts"],"sourcesContent":["import type { Job, SingleTaskStatus, WorkflowConfig } from '../../index.js'\nimport type { RetryConfig, TaskConfig } from '../config/types/taskTypes.js'\nimport type { TaskParent } from '../operations/runJobs/runJob/getRunTaskFunction.js'\n\nexport type TaskErrorArgs = {\n executedAt: Date\n input?: object\n job: Job\n message: string\n output?: object\n parent?: TaskParent\n retriesConfig: RetryConfig\n taskConfig?: TaskConfig<string>\n taskID: string\n taskSlug: string\n taskStatus: null | SingleTaskStatus<string>\n workflowConfig: WorkflowConfig\n}\n\nexport type WorkflowErrorArgs = {\n job: Job\n message: string\n workflowConfig: WorkflowConfig\n}\n\nexport class TaskError extends Error {\n args: TaskErrorArgs\n constructor(args: TaskErrorArgs) {\n super(args.message)\n this.args = args\n }\n}\nexport class WorkflowError extends Error {\n args: WorkflowErrorArgs\n\n constructor(args: WorkflowErrorArgs) {\n super(args.message)\n this.args = args\n }\n}\n\n/**\n * Throw this error from within a task or workflow handler to cancel the job.\n * Unlike failing a job (e.g. by throwing any other error), a cancelled job will not be retried.\n */\nexport class JobCancelledError extends Error {\n constructor(message: string) {\n super(message)\n }\n}\n"],"names":["TaskError","Error","args","message","WorkflowError","JobCancelledError"],"mappings":"AAyBA,OAAO,MAAMA,kBAAkBC;IAC7BC,KAAmB;IACnB,YAAYA,IAAmB,CAAE;QAC/B,KAAK,CAACA,KAAKC,OAAO;QAClB,IAAI,CAACD,IAAI,GAAGA;IACd;AACF;AACA,OAAO,MAAME,sBAAsBH;IACjCC,KAAuB;IAEvB,YAAYA,IAAuB,CAAE;QACnC,KAAK,CAACA,KAAKC,OAAO;QAClB,IAAI,CAACD,IAAI,GAAGA;IACd;AACF;AAEA;;;CAGC,GACD,OAAO,MAAMG,0BAA0BJ;IACrC,YAAYE,OAAe,CAAE;QAC3B,KAAK,CAACA;IACR;AACF"}