1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- //
- // QNErrorCode.h
- // QiniuSDK
- //
- // Created by yangsen on 2020/10/21.
- // Copyright © 2020 Qiniu. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- /**
- * StatusCode >= 100 见:https://developer.qiniu.com/kodo/3928/error-responses
- * 除上述链接及下面定义外的状态码依据 iOS 标准库定义
- */
- /**
- * 中途取消的状态码
- */
- extern const int kQNRequestCancelled;
- /**
- * 网络错误状态码
- */
- extern const int kQNNetworkError;
- /**
- * 错误参数状态码
- */
- extern const int kQNInvalidArgument;
- /**
- * 0 字节文件或数据
- */
- extern const int kQNZeroDataSize;
- /**
- * 错误token状态码
- */
- extern const int kQNInvalidToken;
- /**
- * 读取文件错误状态码
- */
- extern const int kQNFileError;
- /**
- * 本地 I/O 错误
- */
- extern const int kQNLocalIOError;
- /**
- * ⽤户劫持错误 错误
- */
- extern const int kQNMaliciousResponseError;
- /**
- * 没有可用的Host 错误【废弃】
- */
- extern const int kQNNoUsableHostError NS_UNAVAILABLE;
- /**
- * SDK 内部错误
- */
- extern const int kQNSDKInteriorError;
- /**
- * 非预期的系统调用 错误
- */
- extern const int kQNUnexpectedSysCallError;
|