Home GnuPG

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.