code: def __getattr__(attr: str) -> type[Error]:
      return getattr(_error_maker, attr)
  
file_path: catboost/contrib/python/pytest/py3/_pytest/_py/error.py
imports: from __future__ import annotations
  import errno
  import os
  import sys
  from typing import Callable
  from typing import TYPE_CHECKING
  from typing import TypeVar
label_desc: Use image node_id 1 for calling a global function with example usage: __getattr__(attr) and returns: getattr