code: def local_errors(ignore=False):
      errors = []
      error_stack.append(errors)
      try:
          yield errors
      finally:
          release_errors(ignore=ignore)
  
imports: from __future__ import absolute_import
  import sys
  from contextlib import contextmanager
  from ..Utils import open_new_file
  from .None import DebugFlags
  from .None import Options
label_desc: Use image node_id 14 for calling a global function with example usage: local_errors(ignore) without return types