Spec Module (/packages/spec): Improve error messages in configuration validation
In config.ts, when validation fails, error messages could be more descriptive to help users troubleshoot configuration issues. The error handling in the parse method could provide more context about what specifically is wrong with the configuration.
cases to look for:
- source locale isn't specified
- target locales is empty
- target locales has duplicates
- no buckets configuratino provided
- unknown bucket ids provided
Hi, could you please assign this issue to me? I’ve reviewed the project’s Code of Conduct and Contribution Guidelines, and I have the required skills and understanding of the tech stack to work on this effectively. I’ve already started analyzing the codebase and begun initial work toward resolving the issue. I’m confident I can implement a clean, optimized, and maintainable solution that aligns with the project’s standards. Looking forward to contributing!