ErrorableRouteMixin Class
Mixin for handling errors.
Item Index
Methods
_updateErrorToDisplay.
(
private
-
errorData
This method checks error message and makes some messages more appropriate for perception.
Parameters:
-
errorData
ObjectData with error description and details.
actions.error
(
-
error
-
transition
Event handler for processing promise model rejecting. [More info](https://www.emberjs.com/api/ember/release/classes/Route/events/error?anchor=e rror).
handleError.
(
-
errorData
-
transition
This method will be invoked during any of route hooks return a promise that rejects.
Parameters:
-
errorData
ObjectError info.
-
transition
TransitionCurrent transition object.