# Javascript: ErrorArgument.msg Property

> The error message.

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

---

### Description

The error message.

### Syntax

```javascript
<String> ErrorArgument.msg
```

### Examples

The following example demonstrates `ErrorArgument.msg` in a practical document-editing workflow. The error message.

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

---

## Nearby

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