---
title: debugDescription
framework: swift
role: symbol
role_heading: Instance Property
path: swift/encodingerror/debugdescription
---

# debugDescription

A textual representation of this encoding error, intended for debugging.

## Declaration

```swift
var debugDescription: String { get }
```

## Discussion

Discussion important: The contents of the returned string are not guaranteed to remain stable: they may arbitrarily change in any Swift release.
