From e3b5c81d8e145bc67b5188d2a456ff4f07f3f281 Mon Sep 17 00:00:00 2001 From: Andrea Amorosi Date: Mon, 1 Jul 2024 11:52:26 +0200 Subject: [PATCH] chore: remove redundant prop in error --- packages/jmespath/src/errors.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/jmespath/src/errors.ts b/packages/jmespath/src/errors.ts index c0d7112539..87ec88ed0e 100644 --- a/packages/jmespath/src/errors.ts +++ b/packages/jmespath/src/errors.ts @@ -108,13 +108,6 @@ class ParseError extends JMESPathError { * Error thrown when an incomplete expression is encountered during parsing. */ class IncompleteExpressionError extends ParseError { - /** - * Expression that was being parsed when the error occurred. - * - * Can be set by whatever catches the error. - */ - public expression?: string; - public constructor(options: { lexPosition: number; tokenValue: Token['value'];