Add CheckPot to check if the pot exists, and rework errors