---
title: domain
framework: TVMLKit JS
role: symbol
role_heading: Instance Property
platforms: [tvOS 9.0+]
path: tvmljs/tverror/1627426-domain
---

# domain

A string containing the error domain.

## Declaration

```data
readonly attribute String domain;
```

## Discussion

Discussion See Error Domains for a list of domains.

## See Also

### Getting Error Properties

- [code](tvmljs/tverror/1627334-code.md)
- [description](tvmljs/tverror/1627424-description.md)
- [userInfo](tvmljs/tverror/1627388-userinfo.md)
