A succesful cancelation is notified by the backend via the error code PackageKit::Transaction::ErrorTransactionCancelled.
PackageKit::Transaction::ErrorTransactionCancelled
Do not emit an error message in this case, as it is the expected outcome.
The same condition is used in PKTransaction.cpp:299
BEFORE: