Share via


IItemPromise.onerror event

Occurs when there is an error in processing.

Syntax

function handler(eventInfo) { /* Your code */ }
 
// addEventListener syntax
iItemPromise.addEventListener("error", handler);
iItemPromise.removeEventListener("error", handler);

Event information

Synchronous No
Bubbles Yes
Cancelable Yes

 

Event handler parameters

  • eventInfo
    Type: CustomEvent**

    An object that contains information about the event.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

IItemPromise