Hey,
Apologies if this is answered elsewhere, I haven't managed to find it.
What's the best way to me to handle errors from ic-ajax in an ember-cli environment? I'm specifically trying to log my user out of ember-simple-auth after a 401 response from the server.
I'd like to define it globally if possible.
Is there a canonical way to do this? At the moment I'm using a mixin method in the promise fail callback...
Many Thanks.