react-native/React
Pieter De Baets 31b5b0ac01 Create RCTFatal for reporting fatal React events
Summary: public

Add RCTFatal for reporting fatal runtime conditions. This centralizes failure handling to one function and allows you to customize how they should be handled. RCTFatal will be logged to the console and as a redbox and will also be triggered by fatal exceptions coming from RCTExceptionsManager.

Note that there is no RCTLogFatal, since just logging the fatal condition does not allow us to handle it consistently.

Reviewed By: nicklockwood

Differential Revision: D2615490

fb-gh-sync-id: 7d8e134419e10a8fb549297054ad955db3f6bee0
2015-11-05 12:51:27 -08:00
..
Base Create RCTFatal for reporting fatal React events 2015-11-05 12:51:27 -08:00
Executors Added lightweight generic annotations 2015-11-03 14:49:30 -08:00
Layout Fix width being ignored when has a value of 0 2015-09-25 15:42:21 -07:00
Modules Create RCTFatal for reporting fatal React events 2015-11-05 12:51:27 -08:00
Profiler Use dispatch_async instead of lock 2015-11-04 09:03:01 -08:00
React.xcodeproj Fixed build for UIExplorer project. 2015-10-27 02:42:26 -07:00
Views fix the memory leaks caused by RCTTabBar 2015-11-05 09:39:30 -08:00