openharmony 鸿蒙 capi-udmf-err-code-h

2026-08-25 浏览 (1)

udmf_err_code.h

Overview

Declares the error codes used in the UDMF.

File to include: <database/udmf/udmf_err_code.h>

Library: libudmf.so

System capability: SystemCapability.DistributedDataManager.UDMF.Core

Since: 12

Related module: UDMF

Summary

Enums

Nametypedef KeywordDescription
Udmf_ErrCodeUdmf_ErrCodeEnumerates the error codes.
Udmf_ListenerStatusUdmf_ListenerStatusEnumerates the status codes returned when data is obtained asynchronously.

Enum Description

Udmf_ErrCode

enum Udmf_ErrCode

Description

Enumerates the error codes.

Since: 12

Enum ItemDescription
UDMF_E_OK = 0Operation successful.
UDMF_ERR = 20400000Universal error codes.
UDMF_E_INVALID_PARAM = (UDMF_ERR + 1)Invalid parameter.

Udmf_ListenerStatus

enum Udmf_ListenerStatus

Description

Enumerates the status codes returned when data is obtained asynchronously.

Since: 15

Enum ItemDescription
UDMF_FINISHED = 0Data is obtained successfully.
UDMF_PROCESSINGThis task is being processed.
UDMF_CANCELEDThis task is canceled.
UDMF_INNER_ERROR = 200An internal error occurs.
UDMF_INVALID_PARAMETERSInvalid parameters are contained.
UDMF_DATA_NOT_FOUNDNo data is obtained.
UDMF_SYNC_FAILEDAn error occurs during data synchronization.
UDMF_COPY_FILE_FAILEDFailed to copy the file.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 js-apis-distributedKVStore-sys

openharmony 鸿蒙 capi-oh-preferences-h

openharmony 鸿蒙 capi-udmf-oh-udshyperlink

openharmony 鸿蒙 js-apis-data-dataSharePredicates

openharmony 鸿蒙 capi-udmf-oh-udsappitem

openharmony 鸿蒙 capi-rdb-oh-data-vbuckets

openharmony 鸿蒙 capi-rdb-oh-predicates

openharmony 鸿蒙 capi-rdb-oh-data-value

openharmony 鸿蒙 capi-preferences-oh-preferencespair

openharmony 鸿蒙 errorcode-datashare

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/YnqeMt0M