mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Migrate ReactJsExceptionHandler to Kotlin (#38249)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/38249 Quick migration of ReactJsExceptionHandler to Kotlin. It will documented in the next diffs of the stack (might rename it as well) changelog: [internal] internal Reviewed By: arushikesarwani94 Differential Revision: D47300786 fbshipit-source-id: ea15b4180c22f5759d327e43af1b7a5c077ea9f8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
683e279dfe
commit
c9e448f132
-17
@@ -1,17 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
package com.facebook.react.interfaces.exceptionmanager;
|
||||
|
||||
import com.facebook.proguard.annotations.DoNotStripAny;
|
||||
import com.facebook.react.common.mapbuffer.ReadableMapBuffer;
|
||||
|
||||
@DoNotStripAny
|
||||
public interface ReactJsExceptionHandler {
|
||||
|
||||
void reportJsException(ReadableMapBuffer errorMap);
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
package com.facebook.react.interfaces.exceptionmanager
|
||||
|
||||
import com.facebook.proguard.annotations.DoNotStripAny
|
||||
import com.facebook.react.common.mapbuffer.ReadableMapBuffer
|
||||
|
||||
@DoNotStripAny
|
||||
fun interface ReactJsExceptionHandler {
|
||||
fun reportJsException(errorMap: ReadableMapBuffer?)
|
||||
}
|
||||
Reference in New Issue
Block a user