docstr: If True, the console will catch the next unhandled exception and display the stack
  trace.
docstr_tok: ["If","True",",","the","console","will","catch","the","next","unhandled","exception","and","display","the","stack","trace","."]
code: def catchNextException(self, catch=True):
      """
      If True, the console will catch the next unhandled exception and display the stack
      trace.
      """
      with SignalBlock(
          self.catchNextExceptionBtn.toggled, self.catchNextException
      ):
          self.catchNextExceptionBtn.setChecked(catch)
      if catch:
          with SignalBlock(
              self.catchAllExceptionsBtn.toggled,
              self.catchAllExceptions,
          ):
              self.catchAllExceptionsBtn.setChecked(False)
          self.enableExceptionHandling()
      else:
          self.disableExceptionHandling()
  
imports: import sys, re, traceback, threading
  from ..None import exceptionHandling
  from ..Qt import QtWidgets, QtCore
  from ..functions import SignalBlock
  from .stackwidget import StackWidget
label_desc: Use image node_id 7 for calling the ExceptionHandlerWidget obj's underlying member method code with example usage: obj.catchNextException(catch) without return types