We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67ee237 commit be52965Copy full SHA for be52965
src/evaluate/index.js
@@ -130,7 +130,7 @@ const evaluate = (
130
131
if (realm.isObject(current)) {
132
if (!realm.has(current, referenceToken) && strictObjects) {
133
- const a = new JSONPointerKeyError(
+ throw new JSONPointerKeyError(
134
`Invalid object key "${referenceToken}" at position ${referenceTokenPosition} in "${jsonPointer}": key not found in object`,
135
{
136
jsonPointer,
0 commit comments