How to customize error message when current statement is not allowed/ambiguous in grammar? #1694
Answered
by
msujew
durianwaffle
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
msujew
Sep 21, 2024
Replies: 1 comment
-
Hey @durianwaffle, You can create a custom langium/packages/langium/src/services.ts Line 62 in 335f9a9 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
durianwaffle
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @durianwaffle,
You can create a custom
ParserErrorMessageProvider
:langium/packages/langium/src/services.ts
Line 62 in 335f9a9