customize errors August 30, 2019, 12:56:27 PM how can i handle customizing errors in RAD ...SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`hn_padrh`.`hn_questoes`, CONSTRAINT `hn_questoes_ibfk_1` FOREIGN KEY (`id_dimensao`) REFERENCES `hn_dimensao` (`id_dimensao`))I am evaluating the RAD and intend in the coming days to be acquiring the license ... Quote Selected Last Edit: August 30, 2019, 12:59:15 PM by reginaldo
Re: customize errors Reply #1 – August 30, 2019, 02:36:24 PM Hi, I don't really understand what you mean by customizing error. The page you are seeing is already a custom error page.If you don't want to throw errors on the page, you can use try catch in your controller page to handle the exception(requires manual editing).you can also publish your application in production mode. This way errors are logged. Quote Selected
Re: customize errors Reply #2 – August 30, 2019, 04:12:15 PM I want to show users in my app suggestive messages like:"Item cannot be deleted while there are references"thanks Quote Selected