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
The parameter check failed or permission denied or system error.
Description
This error code is reported when a parameter check failure, permission verification failure, or system operation error occurs.
Possible Cause
- The input parameter is invalid.
- The required permission is not configured. For example, ohos.permission.SET_TIME is not configured for setting the time or ohos.permission.SET_TIME_ZONE is not configured for setting the time zone.
- 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 input parameters are passed in as required.
- Configure the ohos.permission.SET_TIME permission for setting the time and the ohos.permission.SET_TIME_ZONE permission for setting the time zone.
- Make sure the memory is sufficient.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙DeviceUsageStatistics Error Codes
harmony 鸿蒙DistributedNotificationService Error Codes
harmony 鸿蒙Distributed Scheduler Error Codes
harmony 鸿蒙Access Control Error Codes
harmony 鸿蒙Accessibility Error Codes
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦