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 5daa583 commit c2e777fCopy full SHA for c2e777f
src/parser/createParser.ts
@@ -39,7 +39,7 @@ export function createParser(tokenizer: Tokenizer): Parser {
39
// but I haven't found a way to get this info from Nearley :(
40
throw new Error('Parse error: Invalid SQL');
41
} else {
42
- throw new Error('Parse error: Ambiguous grammar');
+ throw new Error(`Parse error: Ambiguous grammar\n${JSON.stringify(results, undefined, 2)}`);
43
}
44
},
45
};
0 commit comments