---
title: recoverySuggestion
framework: foundationmodels
role: symbol
role_heading: Instance Property
path: foundationmodels/languagemodelsession/generationerror/recoverysuggestion
---

# recoverySuggestion

A string representation of the recovery suggestion.

## Declaration

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