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