Error when mutating Error objects in Safari
See original GitHub issueSafari does not allow setting of Error.column, as is done is raiseRecorverable:
https://github.com/eslint/espree/blob/88446f3fd0ad21ae09497bbfdd05c0afa06da70c/espree.js#L393
This throws: Error: Attempted to assign to readonly property.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
CoreData: error: Mutating a manage… - Apple Developer
CoreData: error: Mutating a managed object after it has been removed from it's context.
Read more >How to fix this mutating error? - ios - Stack Overflow
I'm getting this error: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Attempt to mutate immutable ...
Read more >Testing Error State of Mutation is throwing Global Error #7167
I want to reopen apollographql/react-apollo#2614 from the old repo as I ran into the exact same Issue today with @apollo/client": "3.2.2.
Read more >Prevent Object Mutation - correct solution with a console error ...
After following the instruction on what to do, the console displayed the following error message: TypeError: Cannot assign to read only ...
Read more >DOMException - Web APIs | MDN
DOMException.code · Returns one of the legacy error code constants, or 0 if none match. ; DOMException.message · Returns a string representing a ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We should probably create an
EspreeSyntaxError
constructor that inherits fromSyntaxError
instead. That would be a bit cleaner.@justinfagnani can you submit a PR?
FYI, we added the workaround above, so I’m not sure if Safari still throws or not.