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