In #150 error types were adapted, however it would be good to adapt the errors even further to include the error string returned from the InfluxDB API. Such an error response can look as follows "{ \"code\":\"invalid\",\"message\":\"failed to parse query: found MEASUREMENT, expected FROM, WHERE at line 1, char 8\"}" and it should be decided if only the message or the whole response body should be included in the error.
In #150 error types were adapted, however it would be good to adapt the errors even further to include the error string returned from the InfluxDB API. Such an error response can look as follows
"{ \"code\":\"invalid\",\"message\":\"failed to parse query: found MEASUREMENT, expected FROM, WHERE at line 1, char 8\"}"
and it should be decided if only the message or the whole response body should be included in the error.