Error page customization

Hello friends,

How can I customize error pages? I want to make some changes to it. For example, adding the administrator email address.

Hello,

This message is generated by this function : dolibarr/htdocs/core/lib/functions.lib.php at develop · Dolibarr/dolibarr · GitHub

My recommendation would be to overload translation of the key DolibarrHasDetectedError

thank you very much I did what I wanted to do thanks to you…