If you created your own error documents then you have to add them to .htaccess
Add this (It is for 404 page not found error)
Here change the things accordingly. The path and the error page filename.
Like this you can add all these error pages,
These are the error numbers
401 -...