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 have a question regarding error handling. How do you recommend to do this? I occasionally get 401 errors, and am not sure how I should catch them. Thanks!
The text was updated successfully, but these errors were encountered:
Events should bubble up through the call stack, and as such try/catch or promise .catch() is going to be your best bet. Currently I'm not exposing the raw requests on the Poll parent class, but I imagine that could be a feature in the future
Events should bubble up through the call stack, and as such try/catch or promise .catch() is going to be your best bet. Currently I'm not exposing the raw requests on the Poll parent class, but I imagine that could be a feature in the future
Hi!
I have a question regarding error handling. How do you recommend to do this? I occasionally get 401 errors, and am not sure how I should catch them. Thanks!
The text was updated successfully, but these errors were encountered: