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

# DOMException.prototype.name

The **`name`** read-only property of the `DOMException` interface returns a string that contains one of the strings associated with an [error name](./DOMException.mdx#error-names).

## Value

A string.
