You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KCL will report `RecursiveLoad` when a cycle import of external packages occurs in KCL.
919
898
@@ -948,7 +927,7 @@ Possible resolution:
948
927
949
928
- Check whether there is a circle import in KCL.
950
929
951
-
### 1.3.2 FloatOverflow (E3K04)
930
+
### FloatOverflow (E3K04)
952
931
953
932
KCL will report `FloatOverflow` when a floating-point number overflows in KCL.
954
933
@@ -979,7 +958,7 @@ Possible resolution:
979
958
980
959
- Check whether the value of the float is the float range supported by KCL.
981
960
982
-
### 1.3.3 IntOverflow (E3K09)
961
+
### IntOverflow (E3K09)
983
962
984
963
KCL will report `IntOverflow` when an integer number overflows in KCL.
985
964
@@ -1009,7 +988,7 @@ Possible resolution:
1009
988
1010
989
- Check whether the value of the integer is the integer range supported by KCL.
1011
990
1012
-
### 1.3.4 DeprecatedError (E3N11)
991
+
### DeprecatedError (E3N11)
1013
992
1014
993
KCL will report `DeprecatedError` when a deprecated variable is used and the strict is True.
1015
994
@@ -1046,7 +1025,7 @@ Possible resolution:
1046
1025
- You can set the strict to False which will cause a warning insteads of an error.
1047
1026
- Adjust the code without using deprecated code.
1048
1027
1049
-
### 1.3.5 KCLAttributeRuntimeError (E3A30)
1028
+
### AttributeRuntimeError (E3A30)
1050
1029
1051
1030
KCL will report `KCLAttributeRuntimeError`, if an error occurs during dynamically accessing schema attributes through variables at runtime.
1052
1031
@@ -1075,7 +1054,7 @@ Possible resolution:
1075
1054
1076
1055
- Check whether the attributes of schema are correct.
1077
1056
1078
-
### 1.3.6 TypeRuntimeError (E3G21)
1057
+
### TypeRuntimeError (E3G21)
1079
1058
1080
1059
KCL will report `TypeRuntimeError` when an type error occurs in the runtime type check.
1081
1060
@@ -1107,7 +1086,7 @@ Possible resolution:
1107
1086
1108
1087
- Stop the wrong type union or adjust to the type union supported by KCL.
1109
1088
1110
-
### 1.3.7 SchemaCheckFailure (E3B17)
1089
+
### SchemaCheckFailure (E3B17)
1111
1090
1112
1091
KCL will report `SchemaCheckFailure` when the schema check conditions are not met.
1113
1092
@@ -1149,7 +1128,7 @@ Possible resolution:
1149
1128
1150
1129
- Check whether the attributes of schema can satisfy the conditions in check.
1151
1130
1152
-
### 1.3.8 CannotAddMembersRuntimeError(E3B19)
1131
+
### CannotAddMembersRuntimeError(E3B19)
1153
1132
1154
1133
KCL will report `CannotAddMembersRuntimeError` when members that are not in the schema are used.
1155
1134
@@ -1185,7 +1164,7 @@ Possible resolution:
1185
1164
- Add a non-existent member to the schema.
1186
1165
- Access members that exist in the schema.
1187
1166
1188
-
### 1.3.9 EvaluationError(E3M38)
1167
+
### EvaluationError(E3M38)
1189
1168
1190
1169
KCL will report `EvaluationError` when an illegal evaluation occurs in KCL.
1191
1170
@@ -1215,7 +1194,7 @@ Possible resolution:
1215
1194
1216
1195
- Check whether the evaluation of the expression is legal.
1217
1196
1218
-
### 1.3.10 InvalidFormatSpec (E3M39)
1197
+
### InvalidFormatSpec (E3M39)
1219
1198
1220
1199
KCL will report `InvalidFormatSpec` when an illegal string format appears in KCL.
1221
1200
@@ -1244,11 +1223,11 @@ Possible resolution:
1244
1223
1245
1224
- Adjust illegal String to String supported by KCL standards.
1246
1225
1247
-
### 1.3.11 KCLAssertionError (E3M40)
1226
+
### AssertionError (E3M40)
1248
1227
1249
-
KCL will report `KCLAssertionError` when assert False occurs in KCL.
1228
+
KCL will report `AssertionError` when assert False occurs in KCL.
1250
1229
1251
-
The `ewcode` of `KCLAssertionError` is `E3M40`.
1230
+
The `ewcode` of `AssertionError` is `E3M40`.
1252
1231
1253
1232
For example:
1254
1233
@@ -1271,7 +1250,7 @@ Possible resolution:
1271
1250
1272
1251
- Check the condition of Assert, and when the Assert condition is False, such an error occurs, removing the Assert statement or changing the condition to True.
1273
1252
1274
-
### 1.3.12 ImmutableRuntimeError (E3M44)
1253
+
### ImmutableRuntimeError (E3M44)
1275
1254
1276
1255
KCL will report `ImmutableRuntimeError` when the value of the immutable variable changes.
1277
1256
@@ -1307,7 +1286,7 @@ Possible resolution:
1307
1286
1308
1287
- Check if the final variables have been assigned or other changes affect the values of the final variables.
1309
1288
1310
-
### 1.3.13 CycleInheritError (E2D33)
1289
+
### CycleInheritError (E2D33)
1311
1290
1312
1291
KCL will report `CycleInheritError` when circle inheritance appeared in the schema.
1313
1292
@@ -1345,7 +1324,7 @@ Possible resolution:
1345
1324
1346
1325
- Check schema inheritance relationship to avoid A inheritance B and B inheritance A at the same time.
1347
1326
1348
-
### 1.3.14 KCLRecursionError (E3M42)
1327
+
### RecursionError (E3M42)
1349
1328
1350
1329
KCL will report `KCLRecursionError` when a circle reference appears in the program.
1351
1330
@@ -1396,7 +1375,7 @@ This section mainly includes KCL warnings:
0 commit comments