1/* 2 * Copyright (c) 2025 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the 'License'); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an 'AS IS' BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16export enum SubsystemCode { 17 BUILDSYSTEM = '114', 18 ES2PANDA = '115', 19} 20 21export enum ErrorCode { 22 BUILDSYSTEM_COMPILE_ABC_FAIL = '11410001', 23 BUILDSYSTEM_LINK_ABC_FAIL = '11410002', 24 BUILDSYSTEM_SOURCEROOTS_NOT_SET_FAIL = '11410003', 25 BUILDSYSTEM_UNRECOGNIZED_MODULEROOTPATH = '11410004', 26 BUILDSYSTEM_MODULE_INFO_NOT_CORRECT_FAIL = '11410005', 27 BUILDSYSTEM_DEPENDENT_MODULE_INFO_NOT_CORRECT_FAIL = '11410006', 28 BUILDSYSTEM_FILE_NOT_BELONG_TO_ANY_MODULE_FAIL = '11410007', 29 BUILDSYSTEM_LOAD_PLUGIN_FAIL = '11410008', 30 BUILDSYSTEM_ARK_LINK_NOT_FOUND_FAIL = '11410009', 31 BUILDSYSTEM_SDK_NOT_EXIST_FAIL = '11410010', 32 BUILDSYSTEM_DEPENDENT_MODULE_INFO_NOT_FOUND = '11410011', 33 BUILDSYSTEM_PLUGIN_CONTEXT_RESET_PROJECT_CONFIG = '11410012', 34 BUILDSYSTEM_DECLGEN_FAIL = '11410013', 35 BUILDSYSTEM_LOAD_HASH_CACHE_FAIL = '11410014', 36 BUILDSYSTEM_Dependency_Analyze_FAIL = '11410015', 37 BUILDSYSTEM_Dependency_Analyzer_NOT_FOUND_FAIL = '11410016', 38 BUILDSYSTEM_ABC_FILE_MISSING_IN_BCHAR = '11410017', 39 BUILDSYSTEM_HANDLE_ENTRY_FILE = '11410018', 40} 41