"Daniel P. Berrange" <berra...@redhat.com> writes: > On Tue, Jun 26, 2012 at 09:54:21AM +0200, Markus Armbruster wrote: >> Luiz Capitulino <lcapitul...@redhat.com> writes: >> >> > On Thu, 21 Jun 2012 13:42:19 +0100 >> > "Daniel P. Berrange" <berra...@redhat.com> wrote: [...] >> >> In libvirt we have always reserved the right to change the error >> >> code reported for particular scenarios. So, for example, alot of >> >> our errors started out as "InternalError" (equiv to UndefinedError) >> >> but over time we have changed some to more specialized values >> >> eg "InvalidOperation", "ConfigNotSupported" and so on. >> >> Do you reserve the right to make changes other than from InternalError >> to a more specific one? > > If I'm perfectly honest, then yes. We have tried not to gratuitouslyy > change errors being reported, but they have definitely evolved over > time, so more distinct error scenarios are reported, where previously > many things would have been lumped under one code.
Pragmatic co-evolution of errors with their actual use. Makes sense to me, and I'd recommend we do the same in QEMU. [...]