Home GnuPG
Diffusion GPGME 321c8a0254f4

cpp: Allow changing the error of a result

Description

cpp: Allow changing the error of a result

* lang/cpp/src/result.h (class Result): Add member function setError.

This can be used to replace the error of a result with a more suitable
error.