---
title: failureReason
framework: WeatherKit
role: symbol
role_heading: Instance Property
platforms: [iOS 16.0+, iPadOS 16.0+, Mac Catalyst 16.0+, macOS 13.0+, tvOS 16.0+, visionOS 1.0+, watchOS 9.0+]
path: weatherkit/weathererror/failurereason
---

# failureReason

A localized message describing the reason for the failure.

## Declaration

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

## See Also

### Getting the error properties

- [errorDescription](weatherkit/weathererror/errordescription.md)
- [helpAnchor](weatherkit/weathererror/helpanchor.md)
- [recoverySuggestion](weatherkit/weathererror/recoverysuggestion.md)
