I donβt know if this answers your question, but I hope this helps.
To handle errors caused by the server, you can define the "error" function in the application route and click it in "Airbrake":
App.ApplicationRoute = Ember.Route.extend({ actions: { error: function(error) {
In addition, if you catch errors somewhere else and have the same processing, you can do mixin and pass the error:
App.ErrorHandlerMixin = Ember.Mixin.create({ handleError: function(error){
That way you have all the error handling in one place.
Iovix source share