EZUIKit  2.0
 全部  函数 属性
EZUIError.h
1 //
2 // EZUIError.h
3 // EZUIKit
4 //
5 // Created by linyong on 2017/2/20.
6 // Copyright © 2017年 linyong. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 
14 #define UE_ERROR_ACCESSTOKEN_ERROR_OR_EXPIRE @"UE001"
15 
18 #define UE_ERROR_APPKEY_ERROR @"UE002"
19 
22 #define UE_ERROR_CAMERA_NOT_EXIST @"UE004"
23 
26 #define UE_ERROR_DEVICE_NOT_EXIST @"UE005"
27 
30 #define UE_ERROR_PARAM_ERROR @"UE006"
31 
34 #define UE_ERROR_URL_FORMAT_ERROR @"UE007"
35 
38 #define UE_ERROR_CAS_MSG_PU_NO_RESOURCE @"UE101"
39 
42 #define UE_ERROR_TRANSF_DEVICE_OFFLINE @"UE102"
43 
46 #define UE_ERROR_INNER_STREAM_TIMEOUT @"UE103"
47 
50 #define UE_ERROR_INNER_VERIFYCODE_ERROR @"UE104"
51 
54 #define UE_ERROR_PLAY_FAIL @"UE105"
55 
58 #define UE_ERROR_TRANSF_TERMINAL_BINDING @"UE106"
59 
62 #define UE_ERROR_INNER_DEVICE_NULLINFO @"UE107"
63 
66 #define UE_ERROR_NOT_FOUND_RECORD_FILES @"UE108"
67 
70 #define UE_ERROR_STREAM_CLIENT_LIMIT @"UE109"
71 
73 @interface EZUIError : NSObject
74 
75 @property (nonatomic,copy) NSString *errorString;
76 @property (nonatomic,assign) NSInteger internalErrorCode;
77 
84 + (EZUIError *) errorWithInternalErrorCode:(NSInteger) errorCode;
85 
86 @end
NSInteger internalErrorCode
错误字符串,见本文件中定义,开发者需要处理
Definition: EZUIError.h:76
错误信息类
Definition: EZUIError.h:73