Skip to content

[DX] Rename error prefix to use open-source project name? #39351

Open
@oliviertassinari

Description

@oliviertassinari

What's the problem? 🤔

Most of the codebase (MUI X included) throws errors with this convention: throw new MuiError('MUI: . This feels strange. Even if we make MUI the UI library, that has a Joy Design theme, and a Material Design theme, it still feels strange to have an error about Base UI or MUI X prefixed with MUI.

So my proposal would be to replace these prefixes to be more specific. The side benefit is that it will train developers to learn about these different projects.

I was inspired to open this issue from mui/mui-x#10611, which was opened on the wrong repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussiondxRelated to developers' experience

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions