# Javascript: ErrorArgument.handled Property

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

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Path:** DS Server > Reference > JavaScript API > Javascript: ErrorArgument.handled Property
- **179 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/errorargument/handled-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/errorargument/handled-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/errorargument/handled-property/llms-full.txt

---

### Description

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

### Syntax

```javascript
<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.

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

---

## Nearby

- **Previous:** [ErrorArgument Object](https://docs.textcontrol.com/ds-server/reference/javascript/errorargument/llms-full.txt)
- **Next:** [Javascript: ErrorArgument.msg Property](https://docs.textcontrol.com/ds-server/reference/javascript/errorargument/msg-property/llms-full.txt)
