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
This approach works only if the catch handler is in the same scope as the generateRequest() call. What can be done if the request is fired in a method that returns the promise, with a catch handler in a parent scope?
I'll try and make a quick demo...
The text was updated successfully, but these errors were encountered:
See this SO question for more info:
https://stackoverflow.com/questions/38018531/retrieving-status-code-from-ironrequest-promise
Particularly the comment to the accepted answer:
I'll try and make a quick demo...
The text was updated successfully, but these errors were encountered: