class_docstr: A text-based debugger.
class_docstr_tok: ["A","text-based","debugger","."]
code: def _error_message(self):
      exc_info = sys.exc_info()[:2]
      msg = traceback.format_exception_only(*exc_info)[-1].strip()
      print("***", msg, file=self.stdout)
  
imports: from __future__ import annotations
  import cmd
  import pprint
  import sys
  import traceback
  from typing import Any, IO
  from jax._src.debugger import core
label_desc: Use image node_id 7 for calling the CliDebugger obj's underlying member method code with example usage: obj._error_message() without return types