1# Globalization Changelog 2 3## cl.global.1 ohos.i18n Change in the Error Thrown When Parameter Type Verification Failed 4 5**Reason for Change** 6 7Error code 401 is a common error code for parameter type check. The original error code 890001 is no longer thrown in the parameter type check scenario. 8 9**Change Impact** 10 11This change is a non-compatible change. 12 13Before change: If the parameter type is incorrect, the error code 890001 is thrown. 14 15After change: If the parameter type is incorrect, the error code 401 is thrown. 16 17After the change, you need to capture the new error code for error handling. 18Currently, the IDE implements parameter type check in the compilation phase. If the IDE is used for compilation, there is no impact. 19 20**Start API Level** 21 2212 23 24**Change Since** 25 26OpenHarmony SDK 5.0.0.23 27 28**Key API/Component Changes** 29 30The following table lists the changed APIs of ohos.i18n. 31| API | Access Level | **Start API Level** | **Change Since** | 32|--------|--------|--------|--------| 33| getSystemCountries | Public API | 9 | 12 | 34| isSuggested | Public API | 9 | 12 | 35| getHolidayInfoItemArray | Public API | 11 | 12 | 36| isHoliday | Public API | 11 | 12 | 37| getDisplayCountry | Public API | 9 | 12 | 38| getDisplayLanguage | Public API | 11 | 12 | 39| getLanguageInfoArray | System API | 11 | 12 | 40| getRegionInfoArray | System API | 10 | 12 | 41| setUsingLocalDigit | System API | 10 | 12 | 42| removePreferredLanguage | System API | 9 | 12 | 43 44**Adaptation Guide** 45 46The error code for input parameter type mismatch is changed from 890001 to 401. Use the new error code for exception handling. 47