durabull
Version:
A durable workflow engine built on top of BullMQ and Redis
22 lines (21 loc) • 684 B
TypeScript
/**
* Non-retryable error - stops activity retries immediately
*/
export declare class NonRetryableError extends Error {
constructor(message: string);
}
/**
* Error thrown when workflow needs to wait for external events.
* The `message` parameter should be a descriptive explanation of why the workflow is waiting,
* e.g., "Timer 123 waiting 10s". If not provided, defaults to "Workflow waiting".
*/
export declare class WorkflowWaitError extends Error {
constructor(message?: string);
}
/**
* Error thrown when workflow continues as new
*/
export declare class WorkflowContinueAsNewError extends Error {
workflowId: string;
constructor(workflowId: string);
}