GeneralError
public enum GeneralError : SPError
General SkyPath errors.
-
The Internet connection appears to be offline.
Declaration
Swift
case internetConnectionAppearsOffline -
When trying to call the same endpoint too many times and requests are restricted for some time.
Declaration
Swift
case tooManyRequests -
SDK version is not supported, the upgrade is required.
Declaration
Swift
case upgradeRequired(message: String?) -
SDK has not been started.
Declaration
Swift
case notStarted -
No location access, for example when no location permission has been granted.
Declaration
Swift
case noLocation -
The data type has not been set in the
DataQuery.typesor the feature is disabled for this airline.Check the
messagein this error to get more details about the error. Check theDataQuery.typesand update if needed.Contact SkyPath support to enable the feature for this airline or need any assistance.
Declaration
Swift
case disabled(message: String?) -
Operation has been canceled or no error is available.
Declaration
Swift
case noError -
Other error. See
errorfor more details.Declaration
Swift
case other(error: Error?)
GeneralError Enumeration Reference