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
If you try to feed it to Errio, it throws Cannot read property 'options' of undefined (message should be more informative).
There is also window.addEventListener('unhandledrejection"', (promiseRejectionEvent) => {...}) but the only useful props are reason and path. I'm fine extracting it myself.
ErrorEvent has some useful properties about error that I would like to have.
This is how
Errio.toObject(errorEvent)could look:If you try to feed it to Errio, it throws
Cannot read property 'options' of undefined(message should be more informative).There is also
window.addEventListener('unhandledrejection"', (promiseRejectionEvent) => {...})but the only useful props arereasonandpath. I'm fine extracting it myself.Current Solution