Home GnuPG
Diffusion GPGME 9fca7c84067c

json: Add code to gpg_error based messages

Description

json: Add code to gpg_error based messages

* src/gpgme-json.c (gpg_error_object): New.
(error_object_v): Extend to take error.

Having the error code is helpful, especially as
the strerrors are localized. E.g. to detect
an ERROR_CANCELED.

Details

Provenance
aheineckeAuthored on May 24 2018, 4:35 PM
Parents
rM61f4532ba979: json: Implement op_version
Branches
Unknown
Tags
Unknown