feat: added decorator to catch does not exist error
feat: added decorator to catch does not exist error

(cherry picked from commit d9279e75d7910e13a8c274e55eb5d00fae4f4092)

mhbu50/frappe,saurabh6790/frappe,saurabh6790/frappe,saurabh6790/frappe,almeidapaulopt/frappe,frappe/frappe,yashodhank/frappe,yashodhank/frappe,almeidapaulopt/frappe,StrellaGroup/frappe,frappe/frappe,StrellaGroup/frappe,StrellaGroup/frappe,yashodhank/frappe,saurabh6790/frappe,yashodhank/frappe,mhbu50/frappe,mhbu50/frappe,almeidapaulopt/frappe,mhbu50/frappe,almeidapaulopt/frappe,frappe/frappe