-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
115 additions
and
12 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// | ||
// BmobErrorList.h | ||
// BmobSDK | ||
// | ||
// Created by Bmob on 15/4/13. | ||
// Copyright (c) 2015年 Bmob. All rights reserved. | ||
// | ||
|
||
#ifndef BmobSDK_BmobErrorList_h | ||
#define BmobSDK_BmobErrorList_h | ||
|
||
|
||
typedef enum { | ||
BmobErrorTypeNullPassword = 20000, //登录或者注册时输入的密码为空。 | ||
BmobErrorTypeNullUsername = 20001, //登录或者注册时输入的用户名为空。 | ||
BmobErrorTypeConnectFailed = 20002, //connect failed! | ||
BmobErrorTypeNullObjectId = 20003, //更新对象、删除对象、查询单个对象时没有objectid | ||
BmobErrorTypeNullObject = 20004, //查询时,查询结果为空 | ||
BmobErrorTypeQueryCachedExpired = 20005, //缓存查询时,查询时间已过期 | ||
BmobErrorTypeCloudFunctionFailed = 20006, //云端代码调用失败 | ||
BmobErrorTypeNullFilename = 20008, //上传文件时,文件名为空 | ||
BmobErrorTypeNullFileUrl = 20009, //删除文件时,文件的url为空 | ||
BmobErrorTypeUnknownError = 20010, //未知错误 | ||
BmobErrorTypeNullFileData = 20011, //上传文件时,文件内容为空 | ||
BmobErrorTypeNullUpdateContent = 20012, //更新时,更新内容为空 | ||
BmobErrorTypeNullFunctionName = 20013, //调用云端代码时,函数名为空 | ||
BmobErrorTypeArraySizeLarge = 20014, //批量操作时,传入的数组超过界限 | ||
BmobErrorTypeNullArray = 20015, //批量操作时,传入的数组为空 | ||
BmobErrorTypeNullPushContent = 20016, //推送时,推送内容为空 | ||
BmobErrorTypeFileSizeLimited = 20017, //上传文件时,文件大小超出限制 | ||
BmobErrorTypeLackOfInfomation = 20020, //第三方登录、关联时缺乏必要的信息 | ||
BmobErrorTypeErrorType = 20021, //类型错误 | ||
BmobErrorTypeInitNotFinish = 20022, //初始化未完成 | ||
BmobErrorTypeInitFailed = 20023, //初始化失败 | ||
BmobErrorTypeErrorFormat = 20024, //批量文件上传时格式错误 | ||
BmobErrorTypeNullClassName = 20025 //表名为空 | ||
}BmobErrorType; | ||
|
||
|
||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -168,4 +168,6 @@ | |
*/ | ||
+(BmobUser*)getCurrentUser; | ||
|
||
|
||
|
||
@end |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters