MBXDownloadErrorCode.h 712 B

123456789101112131415
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. /** Enum which represents different error cases which could happen during download session. */
  4. // NOLINTNEXTLINE(modernize-use-using)
  5. typedef NS_ENUM(NSInteger, MBXDownloadErrorCode)
  6. {
  7. /** General filesystem related error code. For cases like: write error, no such file or directory, not enough space and etc. */
  8. MBXDownloadErrorCodeFileSystemError,
  9. /** General network related error. Should be probably representation of HttpRequestError. */
  10. MBXDownloadErrorCodeNetworkError
  11. } NS_SWIFT_NAME(DownloadErrorCode);
  12. NSString* MBXDownloadErrorCodeToString(MBXDownloadErrorCode download_error_code);