Its so simple. For customized error pages like 401, 402, 403, 404, 429, 500, 503. follow this setup I will guide you in a very simple way.
Now you can see all error pages are available here. just customize it according your needs.