Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor ElementError to use component's moduleName instead of componentName #5334

Open
wants to merge 1 commit into
base: public-js-api
Choose a base branch
from

Commits on Sep 20, 2024

  1. Refactor ElementError, add formatErrorMessage

    `ElementError` now accepts a `component` in config. This means the
    component name can be accessed from the supplied `component`.
    
    `formatErrorMessage` helper function added as it is a common string
    format for error messages that can be used by other errors going
    forward.
    patrickpatrickpatrick committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    3cf0e10 View commit details
    Browse the repository at this point in the history