// // MSMessageError.h // Messages // // Copyright © 2016 Apple Inc. All rights reserved. // #import #import MESSAGES_EXTERN NSString *const MSStickersErrorDomain NS_AVAILABLE_IOS(10_0); MESSAGES_EXTERN NSString *const MSMessagesErrorDomain NS_AVAILABLE_IOS(10_0); typedef NS_ENUM(NSInteger, MSMessageErrorCode) { MSMessageErrorCodeUnknown NS_ENUM_AVAILABLE_IOS(11_0) = -1, MSMessageErrorCodeFileNotFound = 1, MSMessageErrorCodeFileUnreadable, MSMessageErrorCodeImproperFileType, MSMessageErrorCodeImproperFileURL, MSMessageErrorCodeStickerFileImproperFileAttributes, MSMessageErrorCodeStickerFileImproperFileSize, MSMessageErrorCodeStickerFileImproperFileFormat, MSMessageErrorCodeURLExceedsMaxSize, MSMessageErrorCodeSendWithoutRecentInteraction NS_ENUM_AVAILABLE_IOS(11_0), MSMessageErrorCodeSendWhileNotVisible NS_ENUM_AVAILABLE_IOS(11_0), MSMessageErrorCodeAPIUnavailableInPresentationContext NS_ENUM_AVAILABLE_IOS(12_0), } NS_ENUM_AVAILABLE_IOS(10_0);