# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
scriptParsingError pErrorContents
# Params
- pErrorContents : Specifies the details of the problem that caused the <scriptParsingError> message to be sent.
# Description
Handle the scriptParsingError message to prevent the standard error window from appearing, when you want to handle the error in a custom handler.
The scriptParsingError message is sent when a compile error occurs. If the script contains an execution error, the errorDialog message is sent instead when the handler containing the error attempts to run.
A list of possible compile errors is contained in the "cScriptErrors" property of the first card of the stack "revErrorDisplay". You can view the list with the following statement:
answer the cScriptErrors of card 1 of stack "revErrorDisplay"
>*Note:* The exact format of the errorContents may change from > release to release.
# Tags
# See
- **property:** lockErrorDialogs, script - **message:** errorDialog - **function:** format - **glossary:** object, handle, handler, error, message, execution error, compile, compile error