code: def get_username():
      try:
          yield "Rick"
      except OwnerError as e:
          raise HTTPException(
              status_code=400, detail=f"Owner error: {e}"
          )
  
imports: from fastapi import Depends, FastAPI, HTTPException
label_desc: Use image node_id 1 for calling a global function with example usage: get_username() without return types