No Description

TBSDKErrorRule.h 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839
  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, strong) NSString *errorCode;
  17. @property (nonatomic, strong) NSString *msg;
  18. @optional
  19. @property (nonatomic, strong) NSString *sub_code;
  20. @property (nonatomic, strong) NSString *sub_msg;
  21. @property (nonatomic, strong) NSDictionary *args;
  22. @property (nonatomic, strong) NSDictionary *raw;
  23. //开发调试使用的参数,用户存放代码出错的位置(__FUNCTION__, __LINE__)
  24. @property (nonatomic, strong) NSString *errorLocation;
  25. @property (nonatomic, strong) NSError *error;
  26. @end