HyphenateSDK  3.6.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)errorWithDescription:(NSString *)aDescription
87  code:(EMErrorCode)aCode;
88 
89 @end
Definition: EMError.h:26
NSString * errorDescription
Definition: EMError.h:44
EMErrorCode code
Definition: EMError.h:35