thanks, I know about this option. I use it when I just test for a role, I guess requires_login can be omitted in this case.
I've seen that I can use routes_onerror in routes.py to define custom error pages for http errors and all other errors. I tested it successfully, works great!