ErrorFromName object
Collapse the table of content
Expand the table of content

WinJS.ErrorFromName object

Applies to Windows and Windows Phone

An error object.

Syntax


var object = new WinJS.ErrorFromName(name, message);

Members

The ErrorFromName object has these types of members:

Constructors

The ErrorFromName object has these constructors.

ConstructorDescription
ErrorFromName

Creates an Error object with the specified name and message properties.

 

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS

 

 

Show:
© 2016 Microsoft