Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an Error object with the specified name and message properties.
Syntax
var errorFromName = new WinJS.ErrorFromName(name, message);
Parameters
name
Type: StringThe name of this error. The name is meant to be consumed programmatically and should not be localized.
message
Type: StringThe message for this error. The message is meant to be consumed by humans and should be localized.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS |