ErrorType ErrorType ErrorType ErrorType Enum


Specifies the JScript error types.

This API supports the product infrastructure and is not intended to be used directly from your code.

public enum class ErrorType
public enum ErrorType
type ErrorType = 
Public Enum ErrorType


EvalError EvalError EvalError EvalError 1

An eval Method (Visual Studio - JScript) error. Corresponds to the EvalErrorObject object.

OtherError OtherError OtherError OtherError 0

Any error other than one of the other error types. This is the default value.

RangeError RangeError RangeError RangeError 2

A range error. Corresponds to the RangeErrorObject object.

ReferenceError ReferenceError ReferenceError ReferenceError 3

A reference error. Corresponds to the ReferenceErrorObject object.

SyntaxError SyntaxError SyntaxError SyntaxError 4

A syntax error. Corresponds to the SyntaxErrorObject object.

TypeError TypeError TypeError TypeError 5

A type error. Corresponds to the TypeErrorObject object.

URIError URIError URIError URIError 6

A Uniform Resource Identifier (URI) error. Corresponds to the URIErrorObject object.

Applies to

See also