bf1032245a32cf514c1077feb6efa5eae7893355
Introduce LegacyDeviceSetupErrorEvent and two mappers for the generate-activation-key and create-device endpoints. 403 on activation-key maps to invalidIdentificator; 404 to deviceNotFound; 401 (already activated or B2B) unifies as deviceNotAvailable. On create-device, 403 → invalidField and 404 → invalidActivationKey. The view state now splits validation vs API errors with a displayErrorKey extension, replacing the previous e.toString() leak that could surface stack traces to users.
SF-APP-PLATFORM
Description
Languages
Dart
95.9%
CMake
2.1%
C++
1.3%
HTML
0.3%
C
0.2%
Other
0.2%