• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Error

JScript5.0+Syntax

var variable = new Error();
var variable = new Error(num);
var variable = new Error(num, description);

Description

The Error object contains information about errors. The Error() constructors can be used to create custom errors. The arguments and properties associated with the Error object are listed in Table 9.8.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint