-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: change error comparison algorithm again (#59)
BREAKING CHANGE: As described in GH Issue #58, the previous change to the error comparison algorithm isn't compatible with IE and Safari due to those browsers adding extra enumerable properties onto `Error` objects. This commit causes `Error` objects to only include their `name`, `message`, and `code` properties in the comparison, regardless of enumerability.
- Loading branch information
Showing
3 changed files
with
19 additions
and
27 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