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 supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS

Library

Base.js

 

 

Show:
© 2014 Microsoft