One Logo Pool Ball
WeatherKit · IOS API REFERENCE

WeatherError

enum · iOS 16.0+ · SDK 27.1

enum WeatherError

An error WeatherKit returns.

Members (4)

get · iOS 16.0+

helpAnchor

TypeScript
getHelpAnchor($self: WeatherError): (string) | null
Swift declaration
var helpAnchor: String? { get }

A localized message providing text if the user requests help.

get · iOS 16.0+

failureReason

TypeScript
getFailureReason($self: WeatherError): (string) | null
Swift declaration
var failureReason: String? { get }

A localized message describing the reason for the failure.

get · iOS 16.0+

errorDescription

TypeScript
getErrorDescription($self: WeatherError): (string) | null
Swift declaration
var errorDescription: String? { get }

A localized message describing what error occurred.

get · iOS 16.0+

recoverySuggestion

TypeScript
getRecoverySuggestion($self: WeatherError): (string) | null
Swift declaration
var recoverySuggestion: String? { get }

A localized message describing how to recover from the failure.

Skipped declarations

No declarations were skipped in this snapshot.

All WeatherKit types →