---
title: WeatherError.permissionDenied
framework: WeatherKit
role: symbol
role_heading: Case
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/permissiondenied
---

# WeatherError.permissionDenied

An error indicating permission denied.

## Declaration

```swift
case permissionDenied
```

## See Also

### Getting the error type

- [WeatherError.unknown](weatherkit/weathererror/unknown.md)
