catch exception if user tries to access an invalid cart