[vbox-dev] Extended error from API
klaus.espenlaub at oracle.com
Wed Mar 7 06:47:57 PST 2012
On 07.03.2012 12:33, Radu C. wrote:
> Is there any way to get the extended error information after calling API
> functions such as RegisterMachine or CreateMachine ?
> I saw that for functions that have progress information you just look
> into the errorinfo, but what about for more general functions?
> Or is the return code the only way to "diagnose" any errors you come upon ?
> In particular, I am looking at the libvirt driver for virtualbox and I'm
> getting some errors for the two functions mentioned above and the
> retcode alone does not offer much info.
The VirtualBox frontends are rather big collections of sample code -
they use the API like the libvirt driver, and have code to print all
available error information.
> Help would be much appreciated,
More information about the vbox-dev