[libvirt] [PATCH 04/24] maint: improve error condition style in public API