Skip to content

Add Method to Find Error in Operation Context (#836)#836

Closed
terrelln wants to merge 3 commits into
facebook:devfrom
terrelln:export-D101645669
Closed

Add Method to Find Error in Operation Context (#836)#836
terrelln wants to merge 3 commits into
facebook:devfrom
terrelln:export-D101645669

Conversation

@terrelln

@terrelln terrelln commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Summary:

This is more general and simpler than getErrorContextString(), which has
side-effects.

This diff also implements ZL_OC_getErrorContextString() in terms of
ZL_OC_findError().

Reviewed By: daniellerozenblit

Differential Revision: D101645669

Summary: As title.

Differential Revision: D101645553
Summary:
This function maybe shouldn't exist. But we do use it in tests. At least
simplify it by getting rid of this weird arg.

Differential Revision: D101645608
@meta-codesync

meta-codesync Bot commented Jun 23, 2026

Copy link
Copy Markdown

@terrelln has exported this pull request. If you are a Meta employee, you can view the originating Diff in D101645669.

Summary:
Pull Request resolved: facebook#836

Pull Request resolved: facebook#707

This is more general and simpler than `getErrorContextString()`, which has
side-effects.

This diff also implements `ZL_OC_getErrorContextString()` in terms of
`ZL_OC_findError()`.

Reviewed By: daniellerozenblit

Differential Revision: D101645669
@meta-codesync meta-codesync Bot changed the title Add Method to Find Error in Operation Context (#707) Jun 23, 2026
@terrelln terrelln force-pushed the export-D101645669 branch from d85c916 to 27aed2f Compare June 23, 2026 16:59
@meta-codesync meta-codesync Bot closed this in ada8ed7 Jun 23, 2026
@meta-codesync meta-codesync Bot added the Merged label Jun 23, 2026
@meta-codesync

meta-codesync Bot commented Jun 23, 2026

Copy link
Copy Markdown

This pull request has been merged in ada8ed7.

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