Currently, there is only the InfluxError struct with an optional message.
To make it easier to distinguish different errors, there are some possibilities:
- Convert
InfluxError to an enum with different variants for error kinds
- Create an
ErrorKind enum and add it as a field to InfluxError
Currently, there is only the
InfluxErrorstruct with an optional message.To make it easier to distinguish different errors, there are some possibilities:
InfluxErrorto an enum with different variants for error kindsErrorKindenum and add it as a field toInfluxError