openharmony 鸿蒙 capi-error-code-h

2026-08-25 浏览 (1)

error_code.h

Overview

Defines the error codes for the FileIO module.

File to include: <filemanagement/fileio/error_code.h>

Library: NA

System capability: SystemCapability.FileManagement.File.FileIO

Since: 12

Related module: FileIO

Summary

Enums

Nametypedef KeywordDescription
FileManagement_ErrCodeFileManagement_ErrCodeEnumerates the error codes used in the FileIO module.

Enum Description

FileManagement_ErrCode

enum FileManagement_ErrCode

Description

Enumerates the error codes used in the FileIO module.

Since: 12

Enum ItemDescription
ERR_OK = 0The API is called successfully.
ERR_PERMISSION_ERROR = 201The permission verification fails.
ERR_INVALID_PARAMETER = 401Invalid parameter.
ERR_DEVICE_NOT_SUPPORTED = 801The device does not support this API.
ERR_EPERM = 13900001The operation is not allowed.
ERR_ENOENT = 13900002The file or folder does not exist.
ERR_ENOMEM = 13900011A memory overflow occurs.
ERR_UNKNOWN = 13900042Internal unknown error.

你可能感兴趣的鸿蒙文章

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/zW1kkn4l