JavaScript Syntax Errors
JavaScript syntax errors occur when the structure of one of your JavaScript statements violates one or more of the syntactic rules.
|
Error Number |
Description |
|---|---|
|
1019 |
|
|
1020 |
|
|
1030 |
|
|
1027 |
|
|
1005 |
|
|
1006 |
|
|
1012 |
|
|
1003 |
|
|
1004 |
|
|
1032 |
|
|
1029 |
|
|
1007 |
|
|
1008 |
|
|
1009 |
|
|
1011 |
|
|
1033 |
|
|
1031 |
|
|
1023 |
|
|
1010 |
|
|
1028 |
|
|
1024 |
|
|
1014 |
|
|
1026 |
|
|
1025 |
|
|
1018 |
|
|
1002 |
|
|
1035 |
Throw must be followed by an expression on the same source line |
|
1016 |
|
|
1015 |
Script Host Errors
The following errors are properly speaking errors pertaining to the script host, but you may see them occasionally.
|
Error |
HRESULT |
Description |
|---|---|---|
|
SCRIPT_E_RECORDED |
0x86664004 |
An error has been recorded to be passed between script engine and host. The host needs to pass the error code to the caller. |
|
SCRIPT_E_REPORTED |
0x80020101 |
Script engine has reported an unhandled exception to the host via IActiveScriptSite::OnScriptError. Host can ignore this error. |
|
SCRIPT_E_PROPAGATE |
0x8002010 |
A script error is being propagated to the caller which might be in a different thread. The host should pass the error code to the caller. |