Skip to content

Use validation error messages for branch rules

The following discussion from !175032 (merged) should be addressed:

  • @vyaklushin started a discussion:

    issue (non-blocking): After I set a squash option for a protected branch and try to change the name of the branch to a wildcard, then I see a generic error. We're probably missing an error handling on frontend side for this case.

    Screenshot_2025-01-29_at_17.36.41

    Screenshot_2025-01-29_at_17.38.06

Requirements

  • Expose the error message returning from backend

Implementation Plan

Edited by Chaoyue Zhao