ChatAttachmentError
public enum ChatAttachmentError : String, LocalizedError, CustomNSError, DataConvertible, Hashable
The error of type ChatAttachmentError is emitted when file upload has failed.
-
Unsupported attachment type
Declaration
Swift
case unsupportedType = "type" -
Attachment has exceeded the file size limit (20 MB)
Declaration
Swift
case sizeLimit = "size" -
The domain of the error.
Declaration
Swift
public static var errorDomain: String { get } -
The error code within the given domain.
Declaration
Swift
public var errorCode: Int { get } -
The user-info dictionary.
Declaration
Swift
public var errorUserInfo: [String : Any] { get }
Install in Dash
ChatAttachmentError Enumeration Reference