Re: new ruby error handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2008-04-10 at 23:28 -0700, Vadim Zaliva wrote:
> I have a dumb question about new error handling. What is the rationale  
> for using
> 'libvirt_message' instead of 'message' in new Libvirt Ruby error  
> classes?

The 'message' in the exception is set, too, usually to the name of the
libvirt function that returned the error. libvirt_message stores
additional error details from virError, which is not always available.

That's how it works at the moment, but I am open to suggestions to
change that.

David


--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]