docstr: Display the current exception and stack.
docstr_tok: ["Display","the","current","exception","and","stack","."]
code: def displayException(self):
      """
      Display the current exception and stack.
      """
      tb = traceback.format_exc()
      lines = []
      indent = 4
      prefix = ""
      for l in tb.split("\n"):
          lines.append(" " * indent + prefix + l)
      self.write("\n".join(lines))
  
imports: import code, sys, traceback
  from ..Qt import QtWidgets, QtGui, QtCore
  from ..functions import mkBrush
  from .CmdInput import CmdInput
label_desc: Use image node_id 5 for calling the ReplWidget obj's underlying member method code with example usage: obj.displayException() without return types