NSError+RQExtension.h 329 B

123456789101112131415
  1. //
  2. // NSError+RQExtension.h
  3. // RQCommon
  4. //
  5. // Created by 张嵘 on 2018/11/23.
  6. // Copyright © 2018 张嵘. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface NSError (RQExtension)
  10. + (instancetype)rq_modelErrorWithException:(NSException *)exception;
  11. + (NSString *)rq_tipsFromError:(NSError *)error;
  12. @end