a bit better server side error proxying to client...now for the client side