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 14declgen_ets2ts_error: 15- name: IDENT_KEY_SUPPORT 16 id: 1 17 message: Only identifier keys are supported. 18 19- name: UNSUPPORTED_TYPE 20 id: 2 21 message: Unsupported type {}. 22 23- name: UNSUPPORTED_LITERAL_TYPE 24 id: 3 25 message: Unsupported literal type. 26 27- name: UNEXPECTED_NUMBER_LITERAL_TYPE 28 id: 4 29 message: Unexpected number literal type. 30 31- name: NOT_OVERLOAD_SUPPORT 32 id: 5 33 message: Method overloads are not supported. 34 35- name: INCORRECT_ENUM_MEMBER 36 id: 6 37 message: Member of enum isn't of type TSEnumMember. 38 39- name: NOT_LITERAL_ENUM_INITIALIZER 40 id: 7 41 message: Only literal enum initializers are supported. 42 43- name: IMPORT_SPECIFIERS_SUPPORT 44 id: 8 45 message: Only import specifiers are supported. 46 47- name: UNSUPPORTED_LOCAL_BINDINGS 48 id: 9 49 message: Imports with local bindings are not supported. 50 51- name: UNSUPPORTED_ENCODING_SPECIFICATIONS 52 id: 10 53 message: The source file does not comply with the encoding specifications. For details, please see the following error information. 54