Called if any error occurs during the processing of the page.
Syntax
WinJS.UI.Pages.define("yourPage.html", { error: function (err) { /* your code here */ }, // Other methods of PageControl });
Parameters
- err
-
Type: Object
The error that occurred.
Return value
Type: Promise
Nothing if the error was handled, or an error promise if the error was not handled.
Requirements
|
Namespace |
WinJS.UI.Pages |
|---|
See also
- IPageControlMembers
- Navigation design for Windows Store apps
- Quickstart: Adding Page controls
- Adding a Page control item template
- Quickstart: Using single-page navigation
Build date: 12/5/2012