---
title: explanation
framework: foundationmodels
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: foundationmodels/languagemodelerror/refusal/explanation
---

# explanation

## Declaration

```swift
nonisolated(nonsending) var explanation: LanguageModelSession.Response<String> { get async throws }
```

## See Also

### Getting a refusal explanation

- [explanationStream](foundationmodels/languagemodelerror/refusal/explanationstream.md)
