mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
Migrate UnobservedTaskException to kotlin (#47542)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47542 Migrate UnobservedTaskException to kotlin changelog: [internal] internal Reviewed By: javache Differential Revision: D65738327 fbshipit-source-id: 251f8ee55497328212ce3facab7a4686fa1a29c8
This commit is contained in:
parent
4f55161132
commit
94839ed174
@ -5,13 +5,7 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
package com.facebook.react.runtime.internal.bolts;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
package com.facebook.react.runtime.internal.bolts
|
||||
|
||||
/** Used to signify that a Task's error went unobserved. */
|
||||
class UnobservedTaskException extends RuntimeException {
|
||||
public UnobservedTaskException(@Nullable Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
}
|
||||
internal class UnobservedTaskException(cause: Throwable?) : RuntimeException(cause) {}
|
Loading…
Reference in New Issue
Block a user