DS Server

Javascript: ErrorArgument.handled Property

Property

Description

Specifies whether the error has been handled. Set this to true to suppress propagation of the error to a higher level.

Syntax

<boolean> ErrorArgument.handled

Examples

The following example demonstrates ErrorArgument.handled in a practical document-editing workflow. It specifies whether the error has been handled. Set this to true to suppress propagation of the error to a higher level.

function inspectHandled(errorArgument) {
    const handled = errorArgument.handled;
    console.log("handled:", handled);
}