adding typed validation exception for handling request errors