Skip to content

add rules to prefer Error objects to be thrown and rejected#54229

Closed
vzaidman wants to merge 2 commits into
react:mainfrom
vzaidman:export-D85237916
Closed

add rules to prefer Error objects to be thrown and rejected#54229
vzaidman wants to merge 2 commits into
react:mainfrom
vzaidman:export-D85237916

Conversation

@vzaidman

Copy link
Copy Markdown
Contributor

Summary: Changelog: [General][Added] Added eslint rule to warn when a non-error is being thrown from a function or rejected for a promise.

Differential Revision: D85237916

@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 22, 2025
@meta-codesync

meta-codesync Bot commented Oct 22, 2025

Copy link
Copy Markdown

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

Summary:

Changelog: [General][Added] add meaningful error reporting when `AccessibilityInfo`'s methods are not available.

Reviewed By: javache

Differential Revision: D85162912
)

Summary:

Changelog: [General][Added] Added eslint rule to warn when a non-error is being thrown from a function or rejected for a promise.

Reviewed By: huntie

Differential Revision: D85237916
@meta-codesync meta-codesync Bot closed this in 94995fd Oct 23, 2025
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Oct 23, 2025
@meta-codesync

meta-codesync Bot commented Oct 23, 2025

Copy link
Copy Markdown

This pull request has been merged in 94995fd.

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. fb-exported 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.

2 participants