---
title: errorDescription
framework: mediadevice
role: symbol
role_heading: Instance Property
path: mediadevice/mediadeviceerror/errordescription
---

# errorDescription

A localized description of the error.

## Declaration

```swift
var errorDescription: String? { get }
```
