Skip to content

Harmonize errors thrown in @lwc/ssr-compiler #5032

Open
@nolanlawson

Description

@nolanlawson

In principle, ssr-compiler should throw exactly the same error messages as babel-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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    SSRUSER STORYUp for grabsIssues that are relatively small, self-contained, and ready for implementationenhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions