Error Handling

  • 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 allowlist or is denylisted from the SASServer.
    • deviceDenylisted: This device has been added to the denylist on the SASServer
    • deviceNotInAllowlist: The SASServer is gated by an allowlist. This device is not on the allowlist.
    • undefinedError: There was an undefined error.

    Since

    since 8.22
    See more

    Declaration

    Swift

    @objc
    public enum SASKitErrorCode : Int, Error