mardi 29 mars 2016

How to bubble up error from Ajax call in controller to application-error route

I was wondering how we can bubble up the error we get from ajax call failure to application-error route. I noticed the error structure i get is quite different than what we have passed as one of the parameters to 'error' action in application route. does anyone know how this can be done i'm new with Ember

 error: function(error, transition) {
      return true;
    }




Aucun commentaire:

Enregistrer un commentaire