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:
-
errorDataObjectData 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:
-
errorDataObjectError info.
-
transitionTransitionCurrent transition object.
Flexberry Documentation