ember-model icon indicating copy to clipboard operation
ember-model copied to clipboard

Document error handling

Open ebryn opened this issue 12 years ago • 1 comments

Our belief is that error handling should be done inside controllers off the returned promises.

ebryn avatar Apr 02 '13 02:04 ebryn

I am currently using Em.RSVP.on('error') to capture promise errors from Ember model that are not explicitly declared in my app. There is currently no error handler in Ember Model that I am aware of and was wondering if this was the current best way to capture errors?

I also capture errors in ApplicationRoute when the model call is made in routes.

narkeeso avatar Feb 21 '14 21:02 narkeeso