Handling Errors

There is a global error handler contained within the AppContext. If you encounter an error in your application you can handle it by calling the handleError method.

this.context.handleError(err)

When an error is caught, it will be displayed to the user in a notification banner and the mobile device will vibrate.

In the case of a 401 (unauthenticated) error, the user will be directed to sign in.