pub fn is_connection_error(error: &ErrorData) -> bool
Returns whether error came from a SqlError::Connection.
error
SqlError::Connection