import { ErrorCategory } from "./error-category.type.mjs"; import { AIErrorOptions } from "./ai-error.mjs"; import { WorkflowError } from "./workflow-error.mjs"; //#region ../ai/src/errors/workflow-cancelled-error.d.ts type WorkflowCancelledErrorOptions = AIErrorOptions & { cancelledAt: string; reason?: string; }; /** * Workflow was cancelled via `AbortSignal` before it could finish. * `cancelledAt` is ISO timestamp at abort; `reason` carries the * `controller.abort(reason)` payload when provided. */ declare class WorkflowCancelledError extends WorkflowError { static readonly defaultCategory: ErrorCategory; readonly cancelledAt: string; readonly reason?: string; constructor(message: string, options: WorkflowCancelledErrorOptions); } //#endregion export { WorkflowCancelledError, WorkflowCancelledErrorOptions }; //# sourceMappingURL=workflow-cancelled-error.d.mts.map