mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-03 02:07:06 +02:00
13 lines
291 B
TypeScript
13 lines
291 B
TypeScript
import { OperationalError } from 'n8n-workflow';
|
|
|
|
export class DuplicateExecutionError extends OperationalError {
|
|
constructor(
|
|
readonly deduplicationKey: string,
|
|
cause?: Error,
|
|
) {
|
|
super(`Execution with deduplication key "${deduplicationKey}" already exists`, {
|
|
cause,
|
|
});
|
|
}
|
|
}
|