openharmony 鸿蒙 capi-cloud-disk-error-code-h

2026-08-25 浏览 (1)

cloud_disk_error_code.h

Overview

This file defines the error codes for the cloud disk management module.

File to include: <filemanagement/clouddiskmanager/cloud_disk_error_code.h>

Library: libohclouddiskmanager.so

System capability: SystemCapability.FileManagement.CloudDiskManager

Since: 21

Related module: CloudDisk

Summary

Enums

Nametypedef KeywordDescription
CloudDisk_ErrorCodeCloudDisk_ErrorCodeEnumerates the error codes of the cloud disk management module.

Enum Description

CloudDisk_ErrorCode

enum CloudDisk_ErrorCode

Description

Enumerates the error codes of the cloud disk management module.

Since: 21

ValueDescription
CLOUD_DISK_OK = 0The API is called successfully.
CLOUD_DISK_PERMISSION_DENIED = 201The permission verification fails.
CLOUD_DISK_NOT_SUPPORTED = 801This feature is not supported on the device.
CLOUD_DISK_INVALID_ARG = 34400001The input parameter is invalid.
CLOUD_DISK_SYNC_FOLDER_PATH_UNAUTHORIZED = 34400002The sync root path is not authorized.
CLOUD_DISK_IPC_FAILED = 34400003IPC connection fails.
CLOUD_DISK_SYNC_FOLDER_LIMIT_EXCEEDED = 34400004The number of sync root paths exceeds the upper limit.
CLOUD_DISK_CONFLICT_THIS_APP = 34400005The sync root path conflicts with the existing sync root path of the application.
CLOUD_DISK_CONFLICT_OTHER_APP = 34400006The sync root path conflicts with the existing sync root path of another application.
CLOUD_DISK_REGISTER_SYNC_FOLDER_FAILED = 34400007The sync root path fails to be registered.
CLOUD_DISK_SYNC_FOLDER_NOT_REGISTERED = 34400008The sync root path is not registered.
CLOUD_DISK_UNREGISTER_SYNC_FOLDER_FAILED = 34400009The sync root path fails to be unregistered.
CLOUD_DISK_SYNC_FOLDER_PATH_NOT_EXIST = 34400010The sync root path does not exist.
CLOUD_DISK_LISTENER_NOT_REGISTERED = 34400011The change listener is not registered.
CLOUD_DISK_LISTENER_ALREADY_REGISTERED = 34400012The change listener has been registered.
CLOUD_DISK_INVALID_CHANGE_SEQUENCE = 34400013The change sequence is invalid. You are advised to query all change sequences.
CLOUD_DISK_TRY_AGAIN = 34400014Temporary failure (for example, due to high underlying I/O load or insufficient memory). Please try again.
CLOUD_DISK_NOT_ALLOWED = 34400015This feature is not allowed on the current device.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 js-apis-file-environment-sys

openharmony 鸿蒙 js-apis-file-fs

openharmony 鸿蒙 capi-clouddisk-clouddisk-pathinfo

openharmony 鸿蒙 capi-clouddisk-clouddisk-changesresult

openharmony 鸿蒙 capi-clouddisk-clouddisk-syncfolder

openharmony 鸿蒙 js-apis-fileShare

openharmony 鸿蒙 capi-fileio

openharmony 鸿蒙 js-apis-file-storage-statistics-sys

openharmony 鸿蒙 js-apis-file-cloudsyncmanager

openharmony 鸿蒙 js-apis-file-environment

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