code: def format_error(message, position):
      if position:
          pos_str = format_position(position)
          cont = context(position)
          message = "\nError compiling Cython file:\n%s\n%s%s" % (
              cont,
              pos_str,
              message or "",
          )
      return message
  
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 3 for calling a global function with example usage: format_error(message, position) and returns: message