Unwrap server side exceptions before throwing on client side

Hi James. This change would unwrap the server side exception on the client side. From my testing, this can expose the server side error messages for better debugging. I am still looking for an query that would generate a server side error. Is there anything quick you can come up with?

Thanks
Tony