Drupal allows you to create custom Error 404 and Error 403 page. Follow below steps:
- Create a basic type page with some content.
- Navigate to:
Home >> Administration >> Configuration >> System >> Site information
- Set this new page as error 404 page as shown in below image.
This page will now act as Error 404 page. Similarly you can create Error 403 page.