Add request type hinting for exception render method