Skip to main 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