developer
2023-05-20 e12c7b4c22df631ebdcd16b2f98fbef8f738f92f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//    '########'########::'######:'########:'##:::'##:
//    ... ##..::##.... ##'##... ##:##.... ##:##::'##::
//    ::: ##::::##:::: ##:##:::..::##:::: ##:##:'##:::
//    ::: ##::::########:. ######::##:::: ##:#####::::
//    ::: ##::::##.... ##:..... ##:##:::: ##:##. ##:::
//    ::: ##::::##:::: ##'##::: ##:##:::: ##:##:. ##::
//    ::: ##::::########:. ######::########::##::. ##:
//    :::..::::........:::......::........::..::::..::
//
//  Created by 亿刀 on 13-2-19.
//  Copyright (c) 2013年 亿刀. All rights reserved.
//
 
#import <Foundation/Foundation.h>
 
 
@protocol TBSDKErrorRule <NSObject>
 
@required
@property (nonatomic, copy) NSString                                          *errorCode;
 
@property (nonatomic, copy) NSString                                          *msg;
 
@optional
@property (nonatomic, copy)  NSString                                         *sub_code;
 
@property (nonatomic, copy)  NSString                                         *sub_msg;
 
@property (nonatomic, strong)  NSDictionary                                     *args;
 
@property (nonatomic, strong)  NSDictionary                                     *raw;
 
//开发调试使用的参数,用户存放代码出错的位置(__FUNCTION__, __LINE__)
@property (nonatomic, copy) NSString                                          *errorLocation;
 
@property (nonatomic, strong) NSError                                           *error;
 
@property (nonatomic, copy) NSString                                          *mappingCode;
 
// 新增透传TBUIKit错误信息
@property (nonatomic, strong) NSError                                           *uikitError;
 
// 新增420限流透出retCode错误信息
@property (nonatomic, copy) NSString                                          *limitFlowRawCode;
 
@end