---
title: NSError
framework: TVMLKit JS
role: symbol
role_heading: Class
platforms: [tvOS 11.0+]
path: tvmljs/nserror
---

# NSError

Information about an error condition, including a domain, a domain-specific error code, and application-specific information.

## Declaration

```data
interface NSError
```

## Topics

### Getting Error Properties

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

### Getting a Localized Error Description

- [description](tvmljs/nserror/2897823-description.md)
- [failureReason](tvmljs/nserror/2897833-failurereason.md)
- [recoverySuggestion](tvmljs/nserror/2897824-recoverysuggestion.md)

## See Also

### Errors

- [TVError](tvmljs/tverror.md)
