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
Hey guys - i just started looking into error handling on the frontend side when making requests.
I wanted to understand how come we always do lots of error handling on the backend but have less on frontend requests.
I thought the below was interesting and one could try to use XMLHttpRequestEventTarget.onerror for additional safeguarding (not yet sure how it all works so this is just a idea of something to look into)
Hey guys - i just started looking into error handling on the frontend side when making requests.
I wanted to understand how come we always do lots of error handling on the backend but have less on frontend requests.
I thought the below was interesting and one could try to use XMLHttpRequestEventTarget.onerror for additional safeguarding (not yet sure how it all works so this is just a idea of something to look into)
https://stackoverflow.com/questions/45067892/xmlhttprequest-onerror-handler-use-case
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onerror
The text was updated successfully, but these errors were encountered: