Files
CustomPlugin/Libs/CredibleAuthSDK.framework/Headers/CAErrorCode.h
2023-04-13 17:23:15 +08:00

62 lines
918 B
C

//
// CAErrorCode.h
// CredibleAuthSDK
//
// Created by PublicJoker on 2021/12/11.
// Copyright © 2021 PublicJoker. All rights reserved.
//
// CredibleAuthSDK定义的错误码
#ifndef CAErrorCode_h
#define CAErrorCode_h
/**
* 成功
*/
#define CA_CODE_SUCCESS 0
/**
* 网络异常
*/
#define CA_CODE_NET_ERROR -1000
/**
* 网络请求结果异常
*/
#define CA_CODE_DATA_ERROR -1001
/**
* 接口已停用
*/
#define CA_CODE_DEPRECATED_API -1002
/**
* 参数错误
*/
#define CA_CODE_PARAM_INVALID -2000
/**
* SDK未初始化
*/
#define CA_CODE_NOT_INITIALIZED -2001
/**
* 初始化错误
*/
#define CA_CODE_INIT_ERROR -2002
/**
* 活体检测结果为空
*/
#define CA_CODE_LIVE_EMPTY -3001
/**
* 未找到证书
*/
#define CA_CODE_CERT_NOT_FOUND -4001
/**
* 协签登录失败
*/
#define CA_CODE_CERT_LOGIN_FAILED -4000
#endif /* CAErrorCode_h */