I have created an error PHP file so if there is any problem when charging a section of the website htaccess redirects to it with the following code but is not working:
ErrorDocument 404 /error.php
The file is named that way. What type error should I use for example when I want to show to the user that the webpage is on maintenance?