2.1.150 [ECMA-262-1999] Section 15.11.7, NativeError Object Structure


When an ECMAScript implementation detects a runtime error, it throws an instance of one of the NativeError objects defined in [ECMA-262-1999] section 15.11.6. Each of these objects has the structure described below, differing only in the name used as the constructor name instead of NativeError, in the name property of the prototype object#, and in the implementation-defined message property of the prototype object#.

For each error object, references to NativeError in the definition should be replaced with the appropriate error object name from [ECMA-262-1999] section 15.11.6.