Class StackTrace

java.lang.Object
io.webfolder.cdp.type.runtime.StackTrace

public class StackTrace
extends java.lang.Object
Call frames for assertions or error messages
  • Constructor Summary

    Constructors 
    Constructor Description
    StackTrace()  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<CallFrame> getCallFrames()
    JavaScript function name.
    java.lang.String getDescription()
    String label of this stack trace.
    StackTrace getParent()
    Asynchronous JavaScript stack trace that preceded this stack, if available.
    StackTraceId getParentId()
    Asynchronous JavaScript stack trace that preceded this stack, if available.
    void setCallFrames​(java.util.List<CallFrame> callFrames)
    JavaScript function name.
    void setDescription​(java.lang.String description)
    String label of this stack trace.
    void setParent​(StackTrace parent)
    Asynchronous JavaScript stack trace that preceded this stack, if available.
    void setParentId​(StackTraceId parentId)
    Asynchronous JavaScript stack trace that preceded this stack, if available.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getDescription

      public java.lang.String getDescription()
      String label of this stack trace. For async traces this may be a name of the function that initiated the async call.
    • setDescription

      public void setDescription​(java.lang.String description)
      String label of this stack trace. For async traces this may be a name of the function that initiated the async call.
    • getCallFrames

      public java.util.List<CallFrame> getCallFrames()
      JavaScript function name.
    • setCallFrames

      public void setCallFrames​(java.util.List<CallFrame> callFrames)
      JavaScript function name.
    • getParent

      public StackTrace getParent()
      Asynchronous JavaScript stack trace that preceded this stack, if available.
    • setParent

      public void setParent​(StackTrace parent)
      Asynchronous JavaScript stack trace that preceded this stack, if available.
    • getParentId

      public StackTraceId getParentId()
      Asynchronous JavaScript stack trace that preceded this stack, if available.
    • setParentId

      public void setParentId​(StackTraceId parentId)
      Asynchronous JavaScript stack trace that preceded this stack, if available.