WinJS.ErrorFromName object
An error object.
Syntax
var object = new WinJS.ErrorFromName(name, message);
Members
The ErrorFromName object has these types of members:
Methods
The ErrorFromName object has these methods.
| Method | Description |
|---|---|
| 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] |
|
Namespace |
WinJS |
|
Library |
|
Build date: 12/5/2012
