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 14fatal: 15- name: TBD1 16 id: 1 17 message: . 18 19- name: OPEN_FAILED 20 id: 2 21 message: "Failed to open file: {}" 22 23- name: NO_INPUT 24 id: 3 25 message: "No files to compile" 26 27- name: PLUGIN_LOAD_FAILED 28 id: 4 29 message: "Failed to load plugin {}" 30 31- name: EVAL_MODE_NOT_SINGLE_INPUT 32 id: 5 33 message: "When compiling with --debugger-eval-mode single input file must be provided" 34 35- name: PROJ_COMP_WITH_OUTPUT 36 id: 6 37 message: "When compiling in project mode --output key is not needed" 38 39- name: MODULE_INVALID_EXT 40 id: 7 41 message: "--module is not supported for this extension." 42 43- name: DUMP_ETS_INVALID_EXT 44 id: 8 45 message: "--dump-ets-src-* option is valid only with ETS extension" 46 47- name: PROJECT_EXT_NOT_ETS 48 id: 9 49 message: "Error: only '--extension=ets' is supported for project compilation mode." 50 51- name: UNKNOWN_EXT 52 id: 10 53 message: "Unknown extension of sourcefile, set the '--extension' option or change the file extension (available options: ets)" 54 55- name: JS_UNSUPPORTED 56 id: 11 57 message: "js extension is not supported within current build" 58 59- name: OPEN_FAILED_ARKTSCONF 60 id: 12 61 message: "Failed to open arktsconfig: {}" 62 63- name: INVALID_ARKTSCONFIG 64 id: 13 65 message: "Invalid ArkTsConfig: {}" 66 67- name: UNRESOLVED_MODULE 68 id: 14 69 message: "Unresolved module name {}" 70 71- name: EMPTY_IMPORT_PATH 72 id: 15 73 message: "Import path cannot be empty" 74 75- name: IMPORT_CANT_FIND_PREFIX 76 id: 16 77 message: "Can't find prefix for '{}' in {}" 78 79- name: OPEN_FOLDER_FAILED 80 id: 17 81 message: "Cannot open folder: {}" 82 83- name: UNAVAILABLE_SRC_PATH 84 id: 18 85 message: "Not an available source path: {}" 86 87- name: UNSUPPORTED_PATH 88 id: 19 89 message: "Not supported path: {}" 90 91- name: SOURCE_OUTSIDE_ETS_PATH 92 id: 20 93 message: "Source file {} outside ets-path" 94 95- name: COMPILE_FAILED 96 id: 21 97 message: "Failed to compile from {} to {}" 98 99- name: EMIT_FAILED 100 id: 22 101 message: "Failed to emit binary data: {}" 102 103- name: ASSIGN_PROFILE_INFO_FAILED 104 id: 23 105 message: "AssignProfileInfo failed" 106 107- name: GENERATE_DYNAMIC_DECLARATIONS 108 id: 24 109 message: "Genate dynamic declarations, outputDeclEts and outputEts must be set together." 110 111- name: MISSING_OUTPUT_FILE 112 id: 25 113 message: "Output file path must be specified." 114 115- name: SIMULTANEOUSLY_MARK_FAILED 116 id: 26 117 message: "simultaneously compile is not work because of input file paths error." 118