Hi Enzo,
Did you have a look at this page: https://docs.mendix.com/deployment/mendixcloud/custom-error-page
Hi check the search please first when posting questions :)
here it is: https://docs.mendix.com/deployment/mendixcloud/custom-error-page