---
title: "AsyncImagePhase.failure(_:)"
framework: swiftui
role: symbol
role_heading: Case
path: "swiftui/asyncimagephase/failure(_:)"
---

# AsyncImagePhase.failure(_:)

An image failed to load with an error.

## Declaration

```swift
case failure(any Error)
```

## See Also

### Getting load phases

- [AsyncImagePhase.empty](swiftui/asyncimagephase/empty.md)
- [AsyncImagePhase.success(_:)](swiftui/asyncimagephase/success(_:).md)
