猎豆优选

TBSDKErrorRule.h 1.8KB

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