
11 Apr
2008
11 Apr
'08
1:15 p.m.
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