harmony(鸿蒙)containers Error Codes
containers Error Codes
10200012 Constructor Calling Failure
Error Message
The {className}’s constructor cannot be directly invoked.
Description
A constructor of the containers class is called directly to create an instance.
Possible Causes
The constructors of the containers class cannot be directly called. The keyword new must be used.
Solution
Use the keyword new to create an instance.
10200011 Passed this object Is Not an Instance of the containers Class
Error Message
The {methodName} method cannot be bound.
Description
this object passed in the API is not an instance of the containers class.
Possible Causes
The APIs of the containers class do not support bind().
Solution
- Check whether bind() is used to call the API.
- Check whether an object that is not a container instance is assigned to the API.
10200001 Invalid Parameter Value
Error Message
The parameter value is out of range.
Description
The value of a parameter passed in the API exceeds the valid range.
Possible Causes
The parameter value is out of range.
Solution
Use a value within the range.
10200010 Empty Container
Error Message
The container is empty.
Description
The container to be operated is empty.
Possible Causes
The container is empty.
Solution
Add elements to the container first.
你可能感兴趣的鸿蒙文章
harmony(鸿蒙)DeviceUsageStatistics Error Codes
harmony(鸿蒙)DistributedNotificationService Error Codes
harmony(鸿蒙)Distributed Scheduler Error Codes
harmony(鸿蒙)Ability Error Codes
harmony(鸿蒙)Ability Access Control Error Codes
harmony(鸿蒙)Accessibility Error Codes
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦