Skip to content

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

Open
copybara-service[bot] wants to merge 1 commit intomasterfrom
test_900900524
Open

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

Conversation

@copybara-service
Copy link
Copy Markdown

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 failed operations.

Add Documentation for MapValue members.

…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 failed operations.

Add Documentation for MapValue members.

PiperOrigin-RevId: 900900524
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