You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor ElementError to use component's moduleName instead of componentName. This should be supported by a formatErrorMessage(Component, message) helper to format the message as <MODULE_NAME>: <MESSAGE> consistently.
Why
This will enable the ElementError to be thrown from the base component class rather than in each of the individual components.
The formatting helper function will allow components to follow the same format with other errors they would throw.
Who needs to work on this
Developers
Who needs to review this
Developers
Done when
A helper for formatting the error messages for a given component has been added
ElementError uses the new helper to format its message
The text was updated successfully, but these errors were encountered:
romaricpascal
changed the title
Refactor ElementError to receive moduleName instead of componentName
Refactor ElementError to use component's moduleName instead of componentNameSep 16, 2024
What
Refactor
ElementError
to use component'smoduleName
instead ofcomponentName
. This should be supported by aformatErrorMessage(Component, message)
helper to format the message as<MODULE_NAME>: <MESSAGE>
consistently.Why
This will enable the
ElementError
to be thrown from the base component class rather than in each of the individual components.The formatting helper function will allow components to follow the same format with other errors they would throw.
Who needs to work on this
Developers
Who needs to review this
Developers
Done when
ElementError
uses the new helper to format its messageThe text was updated successfully, but these errors were encountered: