[Libvir] new ruby error handling

Vadim Zaliva lord at crocodile.org
Mon Apr 14 03:13:51 UTC 2008

On Apr 11, 2008, at 10:15, David Lutterkort wrote:
> 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.

I guess my main complaint is that in some cases message is not a  
coherent English phrase, something I can show to users. So I would  
prefer to have "Error during call to XXX" instead of just "XXX".


"La perfection est atteinte non quand il ne reste rien a ajouter, mais
quand il ne reste rien a enlever."  (Antoine de Saint-Exupery)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1607 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080413/7d660809/attachment-0001.p7s>

More information about the libvir-list mailing list