harmony 鸿蒙Time and Time Zone Service Error Codes
Time and Time Zone Service Error Codes
NOTE
This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
-1 Time and Time Zone Service Error
Error Message
Parameter check failed, permission denied, or system error.
Description
This error code is reported when the time and time zone service error occurs.
Possible Cause
The system is not running properly due to a common kernel error, such as a memory allocation and multi-thread processing error.
Solution
Make sure the memory is sufficient.
13000001 Network or Operating System Error
Error Message
Network connection error or OS error.
Description
This error code is reported when the network or operating system error occurs.
Possible Cause
The network or operating system is not running properly due to a system error, such as network connection failure or socket creation failure.
Solution
Make sure the network is connected and the system resources are sufficient.
13000002 NTP Time Not Updated
Error Message
NTP update failed.
Description
This error code is reported when the NTP time is not updated.
Possible Cause
Fail to update the NTP time before obtain it.
Solution
Call the updateNtpTime() API to update the NTP time.
你可能感兴趣的鸿蒙文章
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦