From 786d7e823532e07506cac8d87267f8f20046b5b2 Mon Sep 17 00:00:00 2001 From: Volker Birk Date: Sun, 28 Jun 2020 16:20:10 +0200 Subject: [PATCH] doc --- passphrase_cache.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/passphrase_cache.hh b/passphrase_cache.hh index 1a4651a..65eefcf 100644 --- a/passphrase_cache.hh +++ b/passphrase_cache.hh @@ -61,8 +61,9 @@ namespace pEp { bool for_each_passphrase(const passphrase_callee& callee); // get all passphrases in cache from latest to oldest - // this function is throwing std::underflow_error when no passphrases - // are left + // this function is throwing PassphraseCache::Empty when cache is empty + // and PassphraseCache::Exhausted when no passphrases are left, then + // starts over const char *latest_passphrase();