Skip to content

Declare the decorated extra data field on ExtendedError - #60486

Merged
meta-codesync[bot] merged 1 commit into
mainfrom
export-D135663213
Dec 3, 2026
Merged

meta-codesync[bot] merged 1 commit into
mainfrom
export-D135663213

Conversation

@SamChou19815

Copy link
Copy Markdown
Member

Summary:
ExceptionsManager reads extra data from e[decoratedExtraDataKey], and the key is the string 'RN$ErrorExtraDataKey'. ExtendedError left the field out because its comment assumed a Symbol key, so the read needed a suppression. This declares the field on ExtendedError and removes the suppression.

Changelog: [Internal]

Differential Revision: D135663213

Summary:
`ExceptionsManager` reads extra data from `e[decoratedExtraDataKey]`, and the key is the string `'RN$ErrorExtraDataKey'`. `ExtendedError` left the field out because its comment assumed a Symbol key, so the read needed a suppression. This declares the field on `ExtendedError` and removes the suppression.

Changelog: [Internal]

Differential Revision: D135663213
@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 Dec 2, 2026
@facebook-github-tools facebook-github-tools Bot added p: Facebook Partner: Facebook Partner labels Dec 2, 2026
@meta-codesync

meta-codesync Bot commented Dec 2, 2026

Copy link
Copy Markdown

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

@meta-codesync
meta-codesync Bot merged commit d1204ac into main Dec 3, 2026
129 of 139 checks passed
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @SamChou19815 in d1204ac

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

@react-native-bot react-native-bot added the Merged This PR has been merged. label Dec 3, 2026
@SamChou19815
SamChou19815 deleted the export-D135663213 branch December 3, 2026 05:22
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 Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants