internal static bool HasError(QiFuture future, int timeout) => Convert.ToBoolean(qi_future_has_error(future.Handle, timeout));