• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Custom Node Error Codes
2
3> **NOTE**
4>
5> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md).
6
7## 100021 FrameNode Not Modifiable
8
9**Error Message**
10
11The FrameNode is not modifiable.
12
13**Description**
14
15This error code is reported when the current FrameNode is unmodifiable, preventing the requested operation, for example, setting properties, adding or removing child nodes, or binding controllers.
16
17**Possible Causes**
18
19An attempt is made to modify a declarative node.
20
21**Solution**
22
23Avoid modifying unmodifiable nodes. Use try-catch to handle errors and prevent impact on other logic.
24
25## 100022 Cross-Language Attribute Configuration Not Supported
26
27**Error Message**
28
29The FrameNode cannot be set whether to support cross-language common attribute setting.
30
31**Description**
32
33This error code is reported when the target FrameNode does not support cross-language attribute configuration.
34
35**Possible Causes**
36
37An attempt is made to adjust the cross-language attribute permission of the target FrameNode.
38
39**Solution**
40
41NA
42
43## 100023 Parameter Error
44
45**Error Message**
46
47Parameter error. Possible causes: 1. The component type of the node is incorrect. 2. The node is null or undefined. 3. The controller is null or undefined.
48
49**Description**
50
51This error code is reported when the parameters passed to the API are incorrect.
52
53**Possible Causes**
54
551. The component type of the provided node is incorrect.
562. The provided node is null or undefined.
573. The provided controller is null or undefined.
58
59**Solution**
60
61Adjust the passed parameter values or perform pre-checks.
62
63## 106103 Operation Not Allowed on Nodes Created by ArkTS
64
65**Error Message**
66
67The corresponding operation does not support nodes created by ArkTS.
68
69**Description**
70
71This error code is reported when the operation does not support nodes created by ArkTS.
72
73**Possible Causes**
74
75The current operation is incompatible with nodes created by ArkTS.
76
77**Solution**
78
79Pass nodes not created by ArkTS.
80
81## 106203 Passed Node Not Mounted to Component Tree
82
83**Error Message**
84
85**Description**
86
87This error code is reported when the passed node is not mounted to the component tree.
88
89**Possible Causes**
90
91The passed node is not mounted to the component tree when the API is called.
92
93**Solution**
94
95Adjust the API call timing to ensure the node is mounted to the component tree.
96