cli/pkg/cmd/project/shared/queries
yuvrajangadsingh fdd6388086 refactor: deduplicate scope error handling between api/client.go and project queries
Consolidate duplicated INSUFFICIENT_SCOPES error handling into a single
implementation. The project queries package now calls
api.GenerateScopeErrorForGQL instead of reimplementing the same logic.

Removes duplicated requiredScopesFromServerMessage, scopesRE, and the
associated test (already covered by api/client_test.go).

Fixes #12823
2026-03-05 20:57:32 +05:30
..
export_data_test.go Ensure item iteration field is populated in tests 2025-02-03 15:25:15 -05:00
queries.go refactor: deduplicate scope error handling between api/client.go and project queries 2026-03-05 20:57:32 +05:30
queries_test.go refactor: deduplicate scope error handling between api/client.go and project queries 2026-03-05 20:57:32 +05:30