Files
klz-cables.com/.pnpm-store/v10/files/ec/eebd916aae88e39c55e8ae4da2ef241a5c6d7f812424293754997c6eebc5fe5dec0f396f3d1e2b03e81205e911f54583e4f642ea8bc8ca99df598db5fcb165
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

38 lines
1.2 KiB
Plaintext

import type { Job, SingleTaskStatus, WorkflowConfig } from '../../index.js';
import type { RetryConfig, TaskConfig } from '../config/types/taskTypes.js';
import type { TaskParent } from '../operations/runJobs/runJob/getRunTaskFunction.js';
export type TaskErrorArgs = {
executedAt: Date;
input?: object;
job: Job;
message: string;
output?: object;
parent?: TaskParent;
retriesConfig: RetryConfig;
taskConfig?: TaskConfig<string>;
taskID: string;
taskSlug: string;
taskStatus: null | SingleTaskStatus<string>;
workflowConfig: WorkflowConfig;
};
export type WorkflowErrorArgs = {
job: Job;
message: string;
workflowConfig: WorkflowConfig;
};
export declare class TaskError extends Error {
args: TaskErrorArgs;
constructor(args: TaskErrorArgs);
}
export declare class WorkflowError extends Error {
args: WorkflowErrorArgs;
constructor(args: WorkflowErrorArgs);
}
/**
* Throw this error from within a task or workflow handler to cancel the job.
* Unlike failing a job (e.g. by throwing any other error), a cancelled job will not be retried.
*/
export declare class JobCancelledError extends Error {
constructor(message: string);
}
//# sourceMappingURL=index.d.ts.map