File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1+ export type JSExceptionHandler = ( error : Error , isFatal : boolean ) => void ;
2+ export type NativeExceptionHandler = ( exceptionMsg : string ) => void ;
3+
4+ declare const getJSExceptionHandler : ( ) => JSExceptionHandler ;
5+
6+ declare const setJSExceptionHandler : ( handler : JSExceptionHandler , allowInDevMode ?: boolean ) => void ;
7+
8+ declare const setNativeExceptionHandler : (
9+ handler : NativeExceptionHandler ,
10+ forceAppQuit ?: boolean , // Android only
11+ executeDefaultHandler ?: boolean ,
12+ ) => void ;
Original file line number Diff line number Diff line change 33 "version" : " 2.10.7" ,
44 "description" : " A react native module that lets you to register a global error handler that can capture fatal/non fatal uncaught exceptions." ,
55 "main" : " index.js" ,
6+ "typings" : " index.d.ts" ,
67 "scripts" : {
78 "test" : " echo no tests && exit 1" ,
89 "lint" : " eslint app/" ,
You can’t perform that action at this time.
0 commit comments