Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/react-native/ReactAndroid/api/ReactAndroid.api
Original file line number Diff line number Diff line change
Expand Up @@ -2421,7 +2421,8 @@ public abstract interface class com/facebook/react/devsupport/interfaces/ErrorCu
public final class com/facebook/react/devsupport/interfaces/ErrorType : java/lang/Enum {
public static final field JS Lcom/facebook/react/devsupport/interfaces/ErrorType;
public static final field NATIVE Lcom/facebook/react/devsupport/interfaces/ErrorType;
public fun getName ()Ljava/lang/String;
public final fun getDisplayName ()Ljava/lang/String;
public fun toString ()Ljava/lang/String;
public static fun valueOf (Ljava/lang/String;)Lcom/facebook/react/devsupport/interfaces/ErrorType;
public static fun values ()[Lcom/facebook/react/devsupport/interfaces/ErrorType;
}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* 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.devsupport.interfaces

public enum class ErrorType(public val displayName: String) {
JS("JS"),
NATIVE("Native");

override fun toString(): String = displayName
}