APIs

Show:

Mixin for handling errors.

Methods

_updateErrorToDisplay.

(
  • errorData
)
private

This method checks error message and makes some messages more appropriate for perception.

Parameters:

  • errorData Object

    Data 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).

Parameters:

handleError.

(
  • errorData
  • transition
)

This method will be invoked during any of route hooks return a promise that rejects.

Parameters:

  • errorData Object

    Error info.

  • transition Transition

    Current transition object.