Home GnuPG

Use Error::isCanceled instead of comparing error codes

Description

Use Error::isCanceled instead of comparing error codes

This ensures that (with the next GpgME) the error code
GPG_ERR_FULLY_CANCELED is also treated as canceled.