Skip to content

Classify the deprecated cxxreact/ErrorUtils.h shim as for-frameworks - #59196

Closed
coado wants to merge 1 commit into
react:mainfrom
coado:export-D126072196
Closed

coado wants to merge 1 commit into
react:mainfrom
coado:export-D126072196

Conversation

@coado

@coado coado commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Summary:
cxxreact/ErrorUtils.h is a deprecated shim that forwards to <jserrorhandler/ErrorUtils.h>, which declares handleJSError and is already classified "for frameworks".

Add the FrameworksGuard.h include so the shim carries the same tier as the header it forwards to.

Changelog: [Internal]

Differential Revision: D126072196

Summary:
`cxxreact/ErrorUtils.h` is a deprecated shim that forwards to `<jserrorhandler/ErrorUtils.h>`, which declares `handleJSError` and is already classified "for frameworks".

Add the `FrameworksGuard.h` include so the shim carries the same tier as the header it forwards to.

Changelog: [Internal]

Differential Revision: D126072196
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 19, 2026
@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Oct 19, 2026
@meta-codesync

meta-codesync Bot commented Oct 19, 2026

Copy link
Copy Markdown

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

@meta-codesync meta-codesync Bot closed this in 5342803 Oct 19, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Oct 19, 2026
@meta-codesync

meta-codesync Bot commented Oct 19, 2026

Copy link
Copy Markdown

This pull request has been merged in 5342803.

@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @coado in 5342803

When will my fix make it into a release? | How to file a pick request?

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants