Javascript Reference
Categories: Error

javascript Error number

@March 15, 2008, 1:22 a.m.
numberFirefox/Netscape/NN n/a IE 5(Win) ECMA n/a  

Read/Write  

Provides a number corresponding to an IE error. You must apply binary arithmetic to the value to derive a meaningful number. Use:

var errNum = ErrObj.number& x0FFFF; 

Then compare the result against Microsoft's numbered listing at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/js56jsmscRunTimeErrors.asp.

 
Example
 
var errNo = myError.number;
 
Value

Number.


Powered by Linode.