-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP - Refactor
InitError
to use formatErrorMessage
or accept an a…
…rbitrary message This ensures errors thrown when the component is already initialised have the same format as other errors related to components. Accepting an arbitrary message was the simplest way I figured to type the arguments of `InitError` (and I think should be a default for all errors) Tests for each component need updating as the messages have changed
- Loading branch information
1 parent
6d80ae5
commit c9d6b69
Showing
3 changed files
with
25 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters