---
title: domain
framework: TVMLKit JS
role: symbol
role_heading: Instance Property
platforms: [tvOS 11.0+]
path: tvmljs/nserror/2897831-domain
---

# domain

A string containing the error domain.

## Declaration

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

## See Also

### Getting Error Properties

- [code](tvmljs/nserror/2897820-code.md)
- [userInfo](tvmljs/nserror/2897822-userinfo.md)
- [underlyingError](tvmljs/nserror/2897821-underlyingerror.md)
