errorMode

Sets the engine action when an error is encountered.

# Metadata

Platforms: server OS: mac, windows, linux Introduced: 4.6.3 Security:

# Syntax

set the errorMode to mode

# Params

- mode : Specifies the action to take when an error occurs. The mode types are:

# Examples

set the errorMode to "debugger"

set the errorMode to "inline"

# Description

Determines the action the engine takes when an error occurs and a custom scriptExecutionError handler has not been provided.

The errorMode property allows you to specify where to log or how to handle error messages that are not handled by a custom scriptExecutionError handler

# Tags

# See

- **keyword:** stderr, stdout - **message:** scriptExecutionError