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
I guess this functionality was intended to allow you to add arbitrary simple but nested objects without fear of them being mutated, but it seems very limiting IMO.
The text was updated successfully, but these errors were encountered:
create-error has a pretty naive cloning implementation that seems to prevent you from storing any real objects on the error. For example:
Assuming that
xhr
is an instance of XMLHttpRequest, you're actually going to get a new one on your error instance.I guess this functionality was intended to allow you to add arbitrary simple but nested objects without fear of them being mutated, but it seems very limiting IMO.
The text was updated successfully, but these errors were encountered: