harmony 鸿蒙Time and Time Zone Service Error Codes

  • 2025-06-12
  • 浏览 (4)

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.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Basic Services Kit

harmony 鸿蒙DeviceInfo

harmony 鸿蒙InitSync

harmony 鸿蒙OH_Print

harmony 鸿蒙OsAccount

harmony 鸿蒙Pasteboard

harmony 鸿蒙Print_Margin

harmony 鸿蒙Print_PageSize

harmony 鸿蒙Print_PrintAttributes

harmony 鸿蒙Print_PrintDocCallback

0  赞