AMapFoundationConst.h 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. //
  2. // AMapFoundationConst.h
  3. // AMapFoundationKit
  4. //
  5. // Created by JL on 2019/7/22.
  6. // Copyright © 2019 Amap.com. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. typedef NSInteger AMapFoundationNSErrorCode;
  11. //ErrorDomain:文件不存在 错误码:-555555
  12. extern NSErrorDomain const AMapFoundationNSErrorFileDonotExist;
  13. extern AMapFoundationNSErrorCode const AMapFoundationNSErrorFileDonotExistCode;
  14. //ErrorDomain:文件路径不合法 错误码:-555556
  15. extern NSErrorDomain const AMapFoundationNSErrorFilePathInvaild;
  16. extern AMapFoundationNSErrorCode const AMapFoundationNSErrorFilePathInvaildCode;
  17. //ErrorDomain:指定类型的日志文件不存在 错误码:-555557
  18. extern NSErrorDomain const AMapFoundationNSErrorTypeLogDonotExist;
  19. extern AMapFoundationNSErrorCode const AMapFoundationNSErrorTypeLogDonotExistCode;
  20. //ErrorDomain:待上传的数据为空(可能是组装/压缩时出错) 错误码:-555558
  21. extern NSErrorDomain const AMapFoundationNSErrorUploadDataIsEmpty;
  22. extern AMapFoundationNSErrorCode const AMapFoundationNSErrorUploadDataIsEmptyCode;
  23. //ErrorDomain:参数错误 错误码:-444444
  24. extern NSErrorDomain const AMapFoundationNSErrorParametersInvalid;
  25. extern AMapFoundationNSErrorCode const AMapFoundationNSErrorParametersInvalidCode;
  26. extern NSErrorDomain const AMapFoundationNSErrorCloudConfigDisable;
  27. extern AMapFoundationNSErrorCode const AMapFoundationNSErrorCloudConfigDisableCode;
  28. extern NSErrorDomain const AMapFoundationNSErrorNetworkUnusable;
  29. extern AMapFoundationNSErrorCode const AMapFoundationNSErrorNetworkUnusableCode;
  30. extern NSErrorDomain const AMapFoundationNSErrorCurrentworkIsRunning;
  31. extern AMapFoundationNSErrorCode const AMapFoundationNSErrorCurrentworkIsRunningCode;
  32. extern NSErrorDomain const AMapFoundationNSErrorCurrentUploadSizeHaveExcess;
  33. extern AMapFoundationNSErrorCode const AMapFoundationNSErrorCurrentUploadSizeHaveExcessCode;
  34. extern NSErrorDomain const AMapFoundationErrorPrivacyShowUnknow;
  35. extern AMapFoundationNSErrorCode const AMapFoundationErrorPrivacyShowUnknowCode;
  36. extern NSErrorDomain const AMapFoundationErrorPrivacyShowNoShow;
  37. extern AMapFoundationNSErrorCode const AMapFoundationErrorPrivacyShowNoShowCode;
  38. extern NSErrorDomain const AMapFoundationErrorPrivacyInfoUnknow;
  39. extern AMapFoundationNSErrorCode const AMapFoundationErrorPrivacyInfoUnknowCode;
  40. extern NSErrorDomain const AMapFoundationErrorPrivacyInfoNotContain;
  41. extern AMapFoundationNSErrorCode const AMapFoundationErrorPrivacyInfoNotContainCode;
  42. extern NSErrorDomain const AMapFoundationErrorPrivacyAgreeUnknow;
  43. extern AMapFoundationNSErrorCode const AMapFoundationErrorPrivacyAgreeUnknowCode;
  44. extern NSErrorDomain const AMapFoundationErrorPrivacyAgreeNotAgreee;
  45. extern AMapFoundationNSErrorCode const AMapFoundationErrorPrivacyAgreeNotAgreeeCode;
  46. extern NSErrorDomain const AMapFoundationErrorInvaildUserKey;
  47. extern AMapFoundationNSErrorCode const AMapFoundationErrorInvaildUserKeyCode;
  48. NS_ASSUME_NONNULL_END