Include component in "~latest version reference is not supported" error
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA
What does this MR do and why?
Add error prefix to "~latest version reference is not supported for non-catalog resources" message
The error prefix is included in other error messages so this change improves consistency. Without the error prefix, it can be very difficult to identify the source of the message.
This MR builds on !149288 (merged) which introduced this error message.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Here's the error message right now, without the improvement from this MR, demonstrating how difficult it is to tell the source of the problem:
Edited by 🤖 GitLab Bot 🤖