Made it so that I can customize the error returned by the server.   Not sure if I like this approach.