n8n/packages/workflow/src/errors/expression-destructuring.error.ts
2026-01-06 17:19:32 +01:00

8 lines
231 B
TypeScript

import { ExpressionError } from './expression.error';
export class ExpressionDestructuringError extends ExpressionError {
constructor(property: string) {
super(`Cannot destructure "${property}" due to security concerns`);
}
}