Skip to content

fix: Add error detail for validation errors in ValidatePeer - #4642

Open
itsbilal wants to merge 1 commit into
mainfrom
bilal/DBI-714-surface-edit-errors
Open

fix: Add error detail for validation errors in ValidatePeer#4642
itsbilal wants to merge 1 commit into
mainfrom
bilal/DBI-714-surface-edit-errors

Conversation

@itsbilal

Copy link
Copy Markdown
Contributor

Previously, the FailedPreconditionApiError in ValidatePeer() had no error details, making it harder to be able to tease this error apart from the caller. This change adds a new error detail,
ErrorInfoReasonSourceValidationFailed, that allows callers to be able to distinguish validation failures from calls to this method.

Previously, the FailedPreconditionApiError in ValidatePeer() had no error
details, making it harder to be able to tease this error apart from the
caller. This change adds a new error detail,
ErrorInfoReasonSourceValidationFailed, that allows callers to be able to
distinguish validation failures from calls to this method.
@itsbilal itsbilal self-assigned this Jul 29, 2026
@itsbilal
itsbilal requested a review from a team as a code owner July 29, 2026 20:38
@claude

claude Bot commented Jul 29, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants