pub enum ErrorCode {
CouldNotResolveAddr,
InvalidApiCall,
SocketError,
InvalidUtf8,
InvalidName,
InvalidTimestamp,
AuthError,
TlsError,
}Expand description
Category of error.
Accessible via Error’s code method.
Variants§
CouldNotResolveAddr
The host, port, or interface was incorrect.
InvalidApiCall
Called methods in the wrong order. E.g. symbol after column.
SocketError
A network error connecting or flushing data out.
InvalidUtf8
The string or symbol field is not encoded in valid UTF-8.
This error is reserved for the C and C++ API.
InvalidName
The table name or column name contains bad characters.
InvalidTimestamp
The supplied timestamp is invalid.
AuthError
Error during the authentication process.
TlsError
Error during TLS handshake.