HyphenateChatSDK 3.9.9.1
EMError.h
1
15#import <Foundation/Foundation.h>
16
17#import "EMErrorCode.h"
18
26@interface EMError : NSObject
27
35@property (nonatomic) EMErrorCode code;
36
44@property (nonatomic, copy) NSString *errorDescription;
45
46
47#pragma mark - Internal SDK
48
66- (instancetype)initWithDescription:(NSString *)aDescription
67 code:(EMErrorCode)aCode;
68
86+ (instancetype _Nonnull)errorWithDescription:(NSString * _Nullable)aDescription
87 code:(EMErrorCode)aCode;
88
89@end
Definition: EMError.h:27
EMErrorCode code
Definition: EMError.h:35
NSString * errorDescription
Definition: EMError.h:44