mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
a195447539
Summary: If building a JSError causes a JSError, this would lead to infinite recursion. This changes the error handling path so the problem is visible to JS. There's also a few related cleanups included, and a new test case. Changelog: [General] [Fixed] - If Error global is not callable when building an error, jsi will throw a JS exception back to JS code. #158 Reviewed By: tmikov, dulinriley Differential Revision: D18796269 fbshipit-source-id: 57a45d144fa2ea5e78d18c27d3130611737dda96