How to customize validation error msg for unresolved variable? #1692
Answered
by
msujew
durianwaffle
asked this question in
Q&A
-
Hi Langium community, I am implementing validator for a DSL. I am wondering how to customize validation error msg for unresolved variable? |
Beta Was this translation helpful? Give feedback.
Answered by
msujew
Sep 21, 2024
Replies: 1 comment 1 reply
-
Hey @durianwaffle, You can override the default linker for that, see: langium/packages/langium/src/references/linker.ts Lines 233 to 246 in 335f9a9 |
Beta Was this translation helpful? Give feedback.
1 reply
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 override the default linker for that, see:
langium/packages/langium/src/references/linker.ts
Lines 233 to 246 in 335f9a9