code: def exc_str(exc=None, limit=None, include_str=True):
      """Temporary adapter
  
      The CapturedException should be available and be used directly instead.
      """
  
      return str(CapturedException(exc))
  
file_path: datalad/datalad/dochelpers.py
imports: import logging
  import re
  import textwrap
  import os
  import sys
  import traceback
  from datalad.support.exceptions import CapturedException
label_desc: Use image node_id 11 for calling a global function with example usage: exc_str(exc, limit, include_str) and returns: str