1# Copyright (c) 2025 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14arkts_config_error: 15- name: UNRESOLVABLE_CONFIG_PATH 16 id: 1 17 message: Can't resolve config path {} 18 19- name: CYCLIC_IMPORT 20 id: 2 21 message: Encountered cyclic import in 'extends' field 22 23- name: WRONG_BASE_CONFIG 24 id: 3 25 message: Failed to parse base config {} 26 27- name: INVALID_VALUE 28 id: 4 29 message: Invalid value for '{}' with key '{}' 30 31- name: EMPTY_ARRAY_SUBSTITOTIONS 32 id: 5 33 message: Substitutions for pattern '{}' shouldn't be an empty array 34 35- name: INVALID_LANGUAGE 36 id: 6 37 message: Invalid '{}' value for dynamic path with key '{}'. Should be one of {} 38 39- name: UNSUPPORTED_LANGUAGE_FOR_INTEROP 40 id: 7 41 message: Interoperability with language '{}' is not supported 42 43- name: INVALID_NAMED_VALUE 44 id: 8 45 message: Invalid {} value for '{}' with key '{}' 46 47- name: DUPLICATED_DYNAMIC_PATH 48 id: 9 49 message: Duplicated dynamic path '{}' for key '{}' 50 51- name: INVALID_JSON_TYPE 52 id: 10 53 message: The '{}' must have {} type 54 55- name: EMPTY_LIST 56 id: 11 57 message: The {} list in config file is empty 58 59- name: FAILED_TO_OPEN_FILE 60 id: 12 61 message: Failed to open file {} 62 63- name: INVALID_JSON 64 id: 13 65 message: ArkTsConfig is not valid json 66 67- name: NO_FILE 68 id: 14 69 message: No such file {} 70 71- name: NOT_ROOT_DIR 72 id: 15 73 message: '{} is not root directory for {}' 74 75- name: INVALID_DESTINATION_FILE 76 id: 16 77 message: Invalid destination file 78 79- name: INVALID_DYNAMIC_PATH 80 id: 17 81 message: Invalid dynamic path '{}' 82