VKError
@objc
public enum VKError : Int, Error, CustomNSError
Defines the errors that comes from VKit.
-
No internet connection.
Declaration
Swift
case isOffline
-
The session has not started.
Declaration
Swift
case sessionNotStarted
-
Authentication error occured.
Declaration
Swift
case unableToAuthenticate
-
Network timed out.
Declaration
Swift
case networkTimeout
-
Server is currently down.
Declaration
Swift
case serverDown
-
The values in the data object being passed is too large. Please reduce.
Declaration
Swift
case dataOverflow
-
The quota has been reached.
Declaration
Swift
case quotaReached
-
Server is currently under maintenance.
Declaration
Swift
case serverMaintenance
-
The video object being requested is out of bound.
Declaration
Swift
case playlistOutOfBound
-
The video file is unavailable
Declaration
Swift
case videoIsUnavailable
-
The video object can’t be reached
Declaration
Swift
case videoIsUnreachable
-
The video object is not found
Declaration
Swift
case videoIsNotFound
-
The video object doesn’t have url to play
Declaration
Swift
case videoIsNotPlayable
-
The video file to upload is not found
Declaration
Swift
case fileIsNotFound
-
Incorrect video file type for upload
Declaration
Swift
case incorrectFileType
-
Unknown error.
Declaration
Swift
case unknownError
-
Declaration
Swift
public var localizedDescription: String { get }
-
Declaration
Swift
public var errorCode: Int { get }
-
Declaration
Swift
public var errorUserInfo: [String : Any] { get }
-
Declaration
Swift
public static var errorDomain: String { get }