code: def new_error(errorid: str, msg: str) -> Callable[[ast.AST], Error]:
      full_message = f"{errorid} {msg}"
  
      def mk_error(node: ast.AST) -> Error:
          return Error(
              lineno=node.lineno,
              col=node.col_offset,
              message=full_message,
              type=DocstringChecker,
          )
  
      mk_error.__name__ = errorid
      return mk_error
  
file_path: Ax/ax/utils/flake8_plugins/docstring_checker.py
imports: import ast
  import itertools
  from pathlib import Path
  from typing import Callable, List, NamedTuple, Type
label_desc: Use image node_id 3 for calling a global function with example usage: new_error(errorid, msg) and returns: mk_error, Error