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 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-
- generalFailure: An uncategorized error occurred.
Since
since 8.22Declaration
Swift
case generalFailure = 0 -
- invalidCredentials: the user provided invalid credentials for a request.
Since
since 8.22Declaration
Swift
case invalidCredentials = 1 -
- serverNotResponding: the server is not responding to requests.
Since
since 8.22Declaration
Swift
case serverNotResponding = 2 -
- reportNotFound: the report was not found on the server.
Since
since 8.22Declaration
Swift
case reportNotFound = 3 -
- reportDownloadFailed: an error occured while downloading a report.
Since
since 8.22Declaration
Swift
case reportDownloadFailed = 4 -
- serverVersionNotSupported: The SASServer is a version not supported by this version of SASKit.
Since
since 8.3Declaration
Swift
case serverVersionNotSupported = 8 -
- resourceNotFound: The requested resource was not found on the server.
Since
since 8.3Declaration
Swift
case resourceNotFound = 9 -
- duplicateConnection: The requested conneection already exists.
Since
since 8.50.3Declaration
Swift
case duplicateConnection = 10 -
- nothingToUpdate: The user asked for a report update, and the current version is up to date.
Since
since 27.0.1Declaration
Swift
case nothingToUpdate = 11 -
- deviceDenylisted: This device has been added to the denylist on the SASServer.
Since
since 27.0.1Declaration
Swift
case deviceDenylisted = 12 -
- deviceNotInAllowlist: The SASServer is gated by an allowlist. This device is not on the allowlist.
Since
since 27.0.1Declaration
Swift
case deviceNotInAllowlist = 13 -
- certificateError: Certificate missing for secure server.
Since
since 2021.1.3Declaration
Swift
case certificateError = 14
View on GitHub
SASKitErrorCode Enumeration Reference