SASKitErrorCode

public enum SASKitErrorCode : Int

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.
  • 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

      Declaration

      Swift

      case deviceNotAuthorized    = 5