It was discovered that libvirt checks the last error that was raised, so
the validation of current exceptions was not being caught properly since
the last error was always grabbed. Creating a 'dummy' Error class that
bypasses the forcing of grabbing the last error solves this
It was discovered that libvirt checks the last error that was raised, so the validation of current exceptions was not being caught properly since the last error was always grabbed. Creating a 'dummy' Error class that bypasses the forcing of grabbing the last error solves this