---
title: errorDescription
framework: foundationmodels
role: symbol
role_heading: Instance Property
path: foundationmodels/languagemodelsession/toolcallerror/errordescription
---

# errorDescription

A string representation of the error description.

## Declaration

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