@@ -10,31 +10,31 @@ const inc = incrementer(code)
1010
1111export const I18nErrorCodes = {
1212 // composer module errors
13- UNEXPECTED_RETURN_TYPE : code , // 23
13+ UNEXPECTED_RETURN_TYPE : code , // 26
1414 // legacy module errors
15- INVALID_ARGUMENT : inc ( ) , // 24
15+ INVALID_ARGUMENT : inc ( ) , // 27
1616 // i18n module errors
17- MUST_BE_CALL_SETUP_TOP : inc ( ) , // 25
18- NOT_INSTALLED : inc ( ) , // 26
19- NOT_AVAILABLE_IN_LEGACY_MODE : inc ( ) , // 27
17+ MUST_BE_CALL_SETUP_TOP : inc ( ) , // 28
18+ NOT_INSTALLED : inc ( ) , // 29
19+ NOT_AVAILABLE_IN_LEGACY_MODE : inc ( ) , // 30
2020 // directive module errors
21- REQUIRED_VALUE : inc ( ) , // 28
22- INVALID_VALUE : inc ( ) , // 29
21+ REQUIRED_VALUE : inc ( ) , // 31
22+ INVALID_VALUE : inc ( ) , // 32
2323 // vue-devtools errors
24- CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN : inc ( ) , // 30
25- NOT_INSTALLED_WITH_PROVIDE : inc ( ) , // 31
24+ CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN : inc ( ) , // 33
25+ NOT_INSTALLED_WITH_PROVIDE : inc ( ) , // 34
2626 // unexpected error
27- UNEXPECTED_ERROR : inc ( ) , // 32
27+ UNEXPECTED_ERROR : inc ( ) , // 35
2828 // not compatible legacy vue-i18n constructor
29- NOT_COMPATIBLE_LEGACY_VUE_I18N : inc ( ) , // 33
29+ NOT_COMPATIBLE_LEGACY_VUE_I18N : inc ( ) , // 36
3030 // bridge support vue 2.x only
31- BRIDGE_SUPPORT_VUE_2_ONLY : inc ( ) , // 34
31+ BRIDGE_SUPPORT_VUE_2_ONLY : inc ( ) , // 37
3232 // need to define `i18n` option in `allowComposition: true` and `useScope: 'local' at `useI18n``
33- MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION : inc ( ) , // 35
33+ MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION : inc ( ) , // 38
3434 // Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly
35- NOT_AVAILABLE_COMPOSITION_IN_LEGACY : inc ( ) , // 36
35+ NOT_AVAILABLE_COMPOSITION_IN_LEGACY : inc ( ) , // 39
3636 // for enhancement
37- __EXTEND_POINT__ : inc ( ) // 37
37+ __EXTEND_POINT__ : inc ( ) // 40
3838} as const
3939
4040type I18nErrorCodes = ( typeof I18nErrorCodes ) [ keyof typeof I18nErrorCodes ]
0 commit comments