---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---

# DOMException.prototype.message

The **`message`** read-only property of the `DOMException` interface returns a string representing a message or description associated with the given [error name](./DOMException.mdx#error-names).

## Value

A string.
