SASKitErrorCode

@objc
public enum SASKitErrorCode : Int, Error

Error Enumeration for SASKit

  • generalFailure: An uncategorized error occurred.
  • invalidCredentials: The user provided invalid credentials for a request.
  • serverNotResponding: The server is not responding to requests.
  • reportNotFound: The report was not found on the server.
  • reportDownloadFailed: An error occured while downloading a report.
  • deviceNotAuthorized: This device is not authorized on either the whitelist or is blacklisted from the SASServer.
  • deviceBlacklisted: This device has been added to the blacklist on the SASServer
  • deviceNotInWhitelist: The SASServer is gated by a whitelist, and this device is not on the whitelist.
  • undefinedError: There was an undefined error.
  • Since

    since 8.22
    • generalFailure: An uncategorized error occurred.
    • Since

      since 8.22

      Declaration

      Swift

      case generalFailure = 0
    • invalidCredentials: the user provided invalid credentials for a request.
    • Since

      since 8.22

      Declaration

      Swift

      case invalidCredentials = 1
    • serverNotResponding: the server is not responding to requests.
    • Since

      since 8.22

      Declaration

      Swift

      case serverNotResponding = 2
    • reportNotFound: the report was not found on the server.
    • Since

      since 8.22

      Declaration

      Swift

      case reportNotFound = 3
    • reportDownloadFailed: an error occured while downloading a report.
    • Since

      since 8.22

      Declaration

      Swift

      case reportDownloadFailed = 4
    • deviceNotAuthorized: This device is not authorized on either the whitelist or is blacklisted from the SASServer.
    • Since

      since 8.22
    • deprecated in 8.23. This has been replaced with .deviceBlacklisted and .deviceNotInWhitelist
    • Declaration

      Swift

      case deviceNotAuthorized = 5
    • deviceBlacklisted: This device has been added to the blacklist on the SASServer
    • Since

      since 8.3

      Declaration

      Swift

      case deviceBlacklisted = 6
    • deviceNotInWhitelist: The SASServer is gated by a whitelist, and this device is not on the whitelist.
    • Since

      since 8.3

      Declaration

      Swift

      case deviceNotInWhitelist = 7
    • serverVersionNotSupported: The SASServer is a version not supported by this version of SASKit
    • Since

      since 8.3

      Declaration

      Swift

      case serverVersionNotSupported = 8
    • resourceNotFound: The requested resource was not found on the server.
    • Since

      since 8.3

      Declaration

      Swift

      case resourceNotFound = 9