code: def raise_oserror(error):
      try:
          msg = Image.core.getcodecstatus(error)
      except AttributeError:
          msg = ERRORS.get(error)
      if not msg:
          msg = f"decoder error {error}"
      msg += " when reading image file"
      raise OSError(msg)
  
imports: import io
  import itertools
  import struct
  import sys
  from .None import Image
  from ._util import is_path
label_desc: Use image node_id 1 for calling a global function with example usage: raise_oserror(error) without return types