code: def coercion_error(
      message: str,
      blame_node: Node = None,
      path: Path = None,
      sub_message: str = None,
      original_error: Exception = None,
  ) -> GraphQLError:
      
      if path:
          path_str = print_path(path)
          message += f" at {path_str}"
      message += f"; {sub_message}" if sub_message else "."
      # noinspection PyArgumentEqualDefault
      return GraphQLError(message, blame_node, None, None, None, original_error)
docs: Return a GraphQLError instance