fix: Prevent errors processed by n8n to be flagged as internal (no-changelog) (#10023)

This commit is contained in:
Michael Kret
2024-07-12 11:13:17 +03:00
committed by GitHub
parent 1d2b403644
commit e2dd000d13
8 changed files with 105 additions and 10 deletions

View File

@@ -10,6 +10,7 @@ import type {
} from '../Interfaces';
import { validateFieldType } from '../TypeValidation';
import * as LoggerProxy from '../LoggerProxy';
import { ApplicationError } from '../errors/application.error';
type FilterConditionMetadata = {
index: number;
@@ -18,7 +19,7 @@ type FilterConditionMetadata = {
errorFormat: 'full' | 'inline';
};
export class FilterError extends Error {
export class FilterError extends ApplicationError {
constructor(
message: string,
readonly description: string,