245
254
Since 0.6.0, all errors reported in the per-connection object
246
255
are also duplicated in the global error object. As such an
247
256
application can always use virGetLastError(). This method
250
259
One will need to free the result with virResetError()</p>
251
260
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>conn</tt></i>:</span></td><td>pointer to the hypervisor connection</td></tr><tr><td><span class="term"><i><tt>to</tt></i>:</span></td><td>target to receive the copy</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if no error was found and the error code otherwise and -1 in case of parameter error.</td></tr></tbody></table></div></div>