Skip to content

Make error handling in wrapped legacy map consistent with modern version.#1948

Merged
copybara-service[bot] merged 1 commit intomasterfrom
test_900900524
Apr 20, 2026
Merged

Make error handling in wrapped legacy map consistent with modern version.#1948
copybara-service[bot] merged 1 commit intomasterfrom
test_900900524

Conversation

@copybara-service
Copy link
Copy Markdown

@copybara-service copybara-service bot commented Apr 16, 2026

Make error handling in wrapped legacy map consistent with modern version.

The wrapped legacy implementation would use absl status return to propagate expected errors leading to inconsistencies in
error handling depending on whether the underlying map was backed by a modern or legacy map. Update so that expected errors
are cel::ErrorValue and unexpected errors (internal bug or client error) are returned as non-ok Status return value.

Add Documentation for MapValue members.

@copybara-service copybara-service bot force-pushed the test_900900524 branch 2 times, most recently from be9a474 to 4efe017 Compare April 20, 2026 19:27
…ion.

The wrapped legacy implementation would use absl status return to propagate expected errors leading to inconsistencies in
error handling depending on whether the underlying map was backed by a modern or legacy map. Update so that expected errors
are cel::ErrorValue and unexpected errors (internal bug or client error) are returned as non-ok Status return value.

Add Documentation for MapValue members.

PiperOrigin-RevId: 902798507
@copybara-service copybara-service bot merged commit c1e3026 into master Apr 20, 2026
@copybara-service copybara-service bot deleted the test_900900524 branch April 20, 2026 20:34
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.

1 participant