DataServiceError
public enum DataServiceError : Error
Errors either related to the client or server side implementation of the National Park Service Api
-
Invalid API Key (HTTP 403 - Forbidden)
Declaration
Swift
case invalidApiKey
-
A malformed URL prevented a URL request from being initiated (Client API issue)
Declaration
Swift
case badURL
-
Invalid Server Response
Declaration
Swift
case cannotDecodeContent(error: Error)