Package 

Class JavascriptException

  • All Implemented Interfaces:
    com.facebook.react.common.HasJavascriptExceptionMetadata , java.io.Serializable

    
    public class JavascriptException
    extends RuntimeException implements HasJavascriptExceptionMetadata
                        

    A JS exception that was propagated to native. In debug mode, these exceptions are normally shown to developers in a redbox.

    • Method Summary

      Modifier and Type Method Description
      String getExtraDataAsJson()
      JavascriptException setExtraDataAsJson(@Nullable() String extraDataAsJson)
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait