I request your help to be able to handle errors of this type, so that it does not display information that can be used in a bad way, that is, I would like to know how I can make that when these types of errors appear, an error message is left. custom, eg "error in the query", for pages 4xx and 5xx