SnapscreenErrorCode
enum SnapscreenErrorCode {}
A list of possible error codes that are returned by SnapscreenKit. The error domain for errors from SnapscreenKit is usually SnapscreenKitErrorDomain unless some underlying error is the cause.
-
Authentication credentials (clientID and clientSecret) are missing
Declaration
Objective-C
SnapscreenClientCredentialsMissingSwift
case clientCredentialsMissing = 0 -
The provided authentication credentials (clientID and clientSecret) are invalid
Declaration
Objective-C
SnapscreenClientCredentialsInvalidSwift
case clientCredentialsInvalid = 1 -
The resource bundle (SnapscreenKit.bundle) is missing from the application bundle
Declaration
Objective-C
SnapscreenResourceBundleMissingSwift
case resourceBundleMissing = 2 -
An error occured while loading webresources
Declaration
Objective-C
SnapscreenWebSearchErrorSwift
case webSearchError = 3 -
Web search resulted in no results
Declaration
Objective-C
SnapscreenWebSearchNoResultsSwift
case webSearchNoResults = 4 -
No access token could be fetched
Declaration
Objective-C
SnapscreenAccessTokenMissingSwift
case accessTokenMissing = 5 -
Direct snap was attempted without providing SnapConfiguration
Declaration
Objective-C
SnapscreenSnapperConfigurationMissingSwift
case snapperConfigurationMissing = 6 -
Direct snap failed because of an unknown error
Declaration
Objective-C
SnapscreenSnapperUnknownErrorSwift
case snapperUnknownError = 7 -
Direct snap was cancelled
Declaration
Objective-C
SnapscreenSnapperCancelledSwift
case snapperCancelled = 8
SnapscreenErrorCode Enumeration Reference