---
title: "SubjectInferenceError.failed(reason:)"
framework: evaluations
role: symbol
role_heading: Case
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: "evaluations/subjectinferenceerror/failed(reason:)"
---

# SubjectInferenceError.failed(reason:)

The subject producer threw. reason is the thrown error’s localizedDescription.

## Declaration

```swift
case failed(reason: String)
```
