Add request type hinting for exception rendering