code: def termerror(string: str, **kwargs: Any) -> None:
      string = "\n".join(
          [f"{ERROR_STRING} {s}" for s in string.split("\n")]
      )
      _log(
          string=string,
          newline=True,
          silent=not _show_errors,
          level=logging.ERROR,
          **kwargs,
      )
  
file_path: wandb/wandb/errors/term.py
imports: import logging
  import sys
  from typing import Any
  import click
label_desc: Use image node_id 4 for calling a global function with example usage: termerror(string) without return types