[libvirt] [libvirt-snmp][PATCH v4 2/4] Add libvirt error handling function