code: def _safe_string(value, what, func=str):
      try:
          return func(value)
      except:
          return f"<{what} {func.__name__}() failed>"
  
imports: import collections.abc
  import itertools
  import linecache
  import sys
  import textwrap
  from contextlib import suppress
label_desc: Use image node_id 11 for calling a global function with example usage: _safe_string(value, what, func) and returns: func, str, what, str, func, str