harmony 鸿蒙File Subsystem Changelog
File Subsystem Changelog
cl.file.1 Change of Error Codes in @ohos.file.storageStatistics and @ohos.file.volumeManager Documents
Changed the error code of “Unknown error” in all APIs in the API reference documents of the @ohos.file.storageStatistics and @ohos.file.volumeManager modules. The error code returned is different from the error code in the d.ts file.
Before the change, the error code of “Unknown error” is 13900032.
After the change, the error code of “Unknown error” is 13900042.
Change Impact
In the code, 13900042 is returned for “Unknown error” from the first version. The error code of ““Unknown error” is incorrect in the d.ts file and API Reference documents.
For applications that have special processing on “13900032 Unknown error”, change the error code to 13900042.
Key API/Component Changes
All APIs in the @ohos.file.storageStatistics and @ohos.file.volumemanager modules are involved.
Adaptation Guide
For applications that have special processing on “Unknown error”, change the error code to 13900042.
你可能感兴趣的鸿蒙文章
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦