Compartir a través de


WinJS.ErrorFromName object

An error object.

Syntax

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

Members

The ErrorFromName object has these types of members:

  • Constructors

Constructors

The ErrorFromName object has these constructors.

Constructor Description
ErrorFromName

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

 

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS