Is there a list of validation errors from paserError and lexerError provider? #1715
-
Hi Langium team, The default validation errors from lexerError and paserError provider doesn't have localization. I want to override all the default validation error msgs because of localization need.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @durianwaffle, for the parser errors, we already expose a For the lexer, you need to override the |
Beta Was this translation helpful? Give feedback.
Hey @durianwaffle,
for the parser errors, we already expose a
ParserErrorMessageProvider
in theparser
part of the language services. You can override that to modify/translate the parser error messages.For the lexer, you need to override the
Lexer
service yourself right now. I've submitted #1716 to make this easier as well.