JScript  

JScript Run-time Errors

JScript run-time errors are errors that result when your JScript script attempts to perform an action that the system cannot execute. JScript run-time errors occur while your script is being executed; when variable expressions are being evaluated, and memory is being dynamic allocated.

Error Number Description
5029 Array length must be a finite positive integer
5030 Array length must be assigned a finite positive number
5028 Array or arguments object expected
5010 Boolean expected
5003 Cannot assign to a function result
5000 Cannot assign to 'this'
5006 Date object expected
5015 Enumerator object expected
5022 Exception thrown and not caught
5020 Expected ')' in regular expression
5019 Expected ']' in regular expression
5023 Function does not have a valid prototype object
5002 Function expected
5008 Illegal assignment
5021 Invalid range in character set
5014 JScript object expected
5001 Number expected
5007 Object expected
5012 Object member expected
5016 Regular Expression object expected
5005 String expected
5017 Syntax error in regular expression
5026 The number of fractional digits is out of range
5027 The precision is out of range
5025 The URI to be decoded is not a valid encoding
5024 The URI to be encoded contains an invalid character
5009 Undefined identifier
5018 Unexpected quantifier
5013 VBArray expected

See Also

JScript Syntax Errors