react-native/React/Modules
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
..
RCTAccessibilityManager.h Add Voice Over related change to AccessibilityManager. 2015-10-01 18:19:24 -07:00
RCTAccessibilityManager.m Implemented inline image support for <Text> 2015-10-08 11:56:25 -07:00
RCTAlertManager.h Remove an existing UIAlertViews when invalidating the RCTAlertManager 2015-09-18 08:45:27 -07:00
RCTAlertManager.m Fixed display of alerts on top of modal window 2015-11-05 03:54:31 -08:00
RCTAppState.h [ReactNative] s/ReactKit/React/g 2015-03-26 02:42:24 -08:00
RCTAppState.m revert D2372548 to fix initial app state issue 2015-09-25 13:25:26 -07:00
RCTAsyncLocalStorage.h Added lightweight generic annotations 2015-11-03 14:49:30 -08:00
RCTAsyncLocalStorage.m No `NSError *` over the bridge 2015-11-04 20:07:31 -08:00
RCTDevLoadingView.h [RCTDevLoadingView] Add ability to disable during development. 2015-09-04 03:46:06 -08:00
RCTDevLoadingView.m [RCTDevLoadingView] Add ability to disable during development. 2015-09-04 03:46:06 -08:00
RCTDevMenu.h Added toggle items to dev menu 2015-09-14 09:40:33 -07:00
RCTDevMenu.m Fixed display of alerts on top of modal window 2015-11-05 03:54:31 -08:00
RCTExceptionsManager.h Create RCTFatal for reporting fatal React events 2015-11-05 12:51:27 -08:00
RCTExceptionsManager.m Create RCTFatal for reporting fatal React events 2015-11-05 12:51:27 -08:00
RCTPointAnnotation.h [MapView] Support for annotation callouts, annotation press, callout presses and pin animation 2015-06-25 09:15:21 -08:00
RCTPointAnnotation.m [MapView] Support for annotation callouts, annotation press, callout presses and pin animation 2015-06-25 09:15:21 -08:00
RCTRedBox.h Added lightweight generic annotations 2015-11-03 14:49:30 -08:00
RCTRedBox.m Cleanup RedBox display of native errors 2015-11-04 12:12:33 -08:00
RCTSourceCode.h Use JSStringCreateWithUTF8CString and skip NSString decoding when loading the bundle 2015-10-16 08:11:25 -07:00
RCTSourceCode.m Use JSStringCreateWithUTF8CString and skip NSString decoding when loading the bundle 2015-10-16 08:11:25 -07:00
RCTStatusBarManager.h Removed deprecated RCT_EXPORT + code paths 2015-06-05 09:58:25 -08:00
RCTStatusBarManager.m App Extension support 2015-09-22 10:46:26 -07:00
RCTTiming.h [ReactNative] Use a single DisplayLink held by the bridge 2015-04-15 07:07:48 -08:00
RCTTiming.m Added lightweight generic annotations 2015-11-03 14:49:30 -08:00
RCTUIManager.h Add doc comment for mainScrollView 2015-08-21 04:00:03 -07:00
RCTUIManager.m Create RCTFatal for reporting fatal React events 2015-11-05 12:51:27 -08:00