Skip to content

C++: Add Method to Convert Exception Back to Error (#837)#837

Closed
terrelln wants to merge 4 commits into
facebook:devfrom
terrelln:export-D101645708
Closed

C++: Add Method to Convert Exception Back to Error (#837)#837
terrelln wants to merge 4 commits into
facebook:devfrom
terrelln:export-D101645708

Conversation

@terrelln

@terrelln terrelln commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Summary:

This will be useful when shoving C++ stuff into the OpenZL core.

Reviewed By: Cyan4973

Differential Revision: D101645708

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
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()`.

Differential Revision: D101645669
@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 D101645708.

Summary:
Pull Request resolved: facebook#837

Pull Request resolved: facebook#708

This will be useful when shoving C++ stuff into the OpenZL core.

Reviewed By: Cyan4973

Differential Revision: D101645708
@meta-codesync meta-codesync Bot changed the title C++: Add Method to Convert Exception Back to Error (#708) Jun 23, 2026
@terrelln terrelln force-pushed the export-D101645708 branch from fa9a3b5 to 581c3e7 Compare June 23, 2026 16:59
@meta-codesync meta-codesync Bot closed this in ca49afe Jun 23, 2026
@meta-codesync

meta-codesync Bot commented Jun 23, 2026

Copy link
Copy Markdown

This pull request has been merged in ca49afe.

@meta-codesync meta-codesync Bot added the Merged label Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment