編輯

共用方式為


ErrorType Enum

Definition

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
Inheritance
ErrorType

Fields

Name Value Description
OtherError 0

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

EvalError 1

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

RangeError 2

A range error. Corresponds to the RangeErrorObject object.

ReferenceError 3

A reference error. Corresponds to the ReferenceErrorObject object.

SyntaxError 4

A syntax error. Corresponds to the SyntaxErrorObject object.

TypeError 5

A type error. Corresponds to the TypeErrorObject object.

URIError 6

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

Applies to

See also