Harmonize errors thrown in @lwc/ssr-compiler
#5032
Labels
enhancement
SSR
Up for grabs
Issues that are relatively small, self-contained, and ready for implementation
USER STORY
In principle,
ssr-compiler
should throw exactly the same error messages asbabel-plugin-component
,template-compiler
, etc. for the same input. These errors are defined in@lwc/errors
and are designed to be shared.For expediency, we have not yet used the correct error messages in
ssr-compiler
. We should.These errors should ideally also have some way to bubble up the row/column number that caused the error, so that it can be integrated with the VS Code extension.
The text was updated successfully, but these errors were encountered: