Files
youle_app_ios/Pods/Qiniu/QiniuSDK/Common/QNErrorCode.h

69 lines
1.2 KiB
Objective-C
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//
// 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;