How to create custom error pages?

That is a good idea. Could you repeat that in a GitHub issue?