code: def check(err):
      """If err is nonzero, raise a MacError exception."""
      if err == ERROR_NOT_FOUND:
          raise OSError("file not found")
      elif err != 0:
          raise MacError(err)
  
imports: import copy
  import ctypes
  import ctypes.util
  import os
  import sys
  from .exceptions import DecodeError
  from .base import AudioFile
label_desc: Use image node_id 3 for calling a global function with example usage: check(err) without return types