---
title: TVError
framework: TVMLKit JS
role: symbol
role_heading: Class
platforms: [tvOS 9.0+]
path: tvmljs/tverror
---

# TVError

Error codes for the TVError domain.

## Declaration

```data
interface TVError
```

## Overview

Overview A TVError object encapsulates richer and more extensible error information than is possible when you use only an error code or error string. The core attributes of a TVError object are an error domain (represented by a string), a domain-specific error code, and a user info dictionary containing app-specific information. See User Info Dictionary Keys and Error Domains.

## Topics

### Getting Error Properties

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

### Constants

- [User Info Dictionary Keys](tvmljs/tverror/user_info_dictionary_keys.md)
- [Error Domains](tvmljs/tverror/error_domains.md)

## See Also

### Errors

- [NSError](tvmljs/nserror.md)
