更新时间:2024-03-20 GMT+08:00
分享

错误码

当您使用SDK报错时,请参见表1进行处理。

表1 错误码

状态码

错误码

错误信息

描述

处理措施

参数类错误(LTS.00XX)

LTS.0001

%@ is null.

参数%@为空。

请设置非空的参数后重试。

LTS.0002

%@ is invalid.

参数%@的类型、格式无效。

请设置有效的参数后重试。

LTS.0003

The length of %@ exceeds the maximum value of %@.

参数%@的长度超过了最大值%@。

请修改参数长度后重试。

LTS.0004

The value of %@ must be between %@ and %@.

参数%@的值必须在%@-%@之间。

请修改参数值后重试。

LTS.0006

%@ doesn't match pattern.

参数%@不匹配正则表达式。

请设置符合正则表达式的参数后重试。

LTS.0007

Invalid configuration parameters.

无效的配置参数。

请设置正确的配置项参数后重试。

LTS.0009

Unsupported region.

上报日志不支持该地区。

请使用下列有效区域:cn-north-4。

集成类错误(LTS.01XX)

LTS.0100

The LTSSDK is not initialized.

SDK未初始化。

请设置符合规则的配置参数,正确初始化SDK。

LTS.0102

The LTSSDK requires %@ or higher.

SDK要求%@及以上操作系统。

请根据提示调整最低操作系统版本。

LTS.0103

Open database failed, code=%@.

打开数据库失败。

请根据sqlite3 error code查询具体情况。

LTS.0104

Create database table failed, code=%@, error=%@.

创建数据表失败。

请根据sqlite3 error code查询具体情况。

LTS.0105

Insert into database failed, code=%@, error=%@.

插入数据失败。

请根据sqlite3 error code查询具体情况。

LTS.0106

Delete from database failed, code=%@, error=%@.

删除数据失败。

请根据sqlite3 error code查询具体情况。

LTS.0107

Select from database failed, code=%@, error=%@.

查询数据失败。

请根据sqlite3 error code查询具体情况。

LTS.0108

Close database failed, code=%@.

关闭数据库失败。

请根据sqlite3 error code查询具体情况。

LTS.0109

Reduce database size failed, code=%@, error=%@.

减小数据库大小失败。

请根据sqlite3 error code查询具体情况.

LTS.0110

Begin transaction failed, code=%@, error=%@.

开启事务失败。

请根据sqlite3 error code查询具体情况。

LTS.0111

Commit transaction failed, code=%@, error=%@.

提交事务失败。

请根据sqlite3 error code查询具体情况。

LTS.0112

The count of database records exceeds the maximum value of %@,will delete %@ records before inserting.

数据库达到最大日志条数限制。

将自动删除适量老日志,再插入新日志。

LTS.0113

Add column(%@) to database failed, code=%d, error=%s.

添加数据库表字段失败

请根据sqlite3 error code查询具体情况。

LTS.0114

Update column(%@) to database failed, code=%d, error=%s.

更新数据库表字段失败

请根据sqlite3 error code查询具体情况。

系统类错误(LTS.02XX)

LTS.0201

Request signature failed.

网络请求签名失败。

请检查region和设备时间(时区)是否正确。

LTS.0202

Write to file failed.

写入文件失败。

请检查文件写权限。

LTS.0203

No file read and write permissions.

无文件读写权限。

请授权文件/目录读写权限。

网络类错误

(LTS.03XX)

LTS.0300

Request failed,response code=%@,error=%@.

请求发送失败。

请参考API参考中的错误码

分享:

    相关文档

    相关产品