How to handel frappe.throw and save the error but not show to the user in the interface

how to handel frappe.throw and save the error but not show to the user in the interface

your use case , please?

1 Like

i need to call the method through the rest api
this method call other document methods and this document throw frappe errors like this emplyee does not exist
i want to recored this exceptions and complete the code till the end with out exceptions

Thanks szufisher for your support