Framework for embedding localizations into Rust types

Add explicit error handling for macro parsing

The error messages are not much better than before, but now at least give a hint of where to go next. Since it is now using the common error handling code, it should be much easier to improve going forward.

Created by  finchie  on April 15, 2025
7JPOCQEISAIOD7LV4JYBE6NNUWUKKNE73MEPQYTIZ7PP44ZAD2RAC
Change contents