diff options
author | David Bremner <david@tethera.net> | 2021-02-14 13:42:42 -0400 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2021-03-27 09:26:14 -0300 |
commit | a6a580e61613507edc47e0eac0b2b84f6678d01c (patch) | |
tree | 44353358636f04a784059a72b426f54ebe38670f | |
parent | 4a8d67e357ff9bfe6ab7612ba052b72b9dcffa3f (diff) |
lib: add missing status strings
-rw-r--r-- | lib/database.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/database.cc b/lib/database.cc index 9743c1ca..d2ccdd58 100644 --- a/lib/database.cc +++ b/lib/database.cc @@ -293,12 +293,20 @@ notmuch_status_to_string (notmuch_status_t status) return "Operation requires a database upgrade"; case NOTMUCH_STATUS_PATH_ERROR: return "Path supplied is illegal for this function"; + case NOTMUCH_STATUS_IGNORED: + return "Argument was ignored"; + case NOTMUCH_STATUS_ILLEGAL_ARGUMENT: + return "Illegal argument for function"; case NOTMUCH_STATUS_MALFORMED_CRYPTO_PROTOCOL: return "Crypto protocol missing, malformed, or unintelligible"; case NOTMUCH_STATUS_FAILED_CRYPTO_CONTEXT_CREATION: return "Crypto engine initialization failure"; case NOTMUCH_STATUS_UNKNOWN_CRYPTO_PROTOCOL: return "Unknown crypto protocol"; + case NOTMUCH_STATUS_NO_CONFIG: + return "No configuration file found"; + case NOTMUCH_STATUS_DATABASE_EXISTS: + return "Database exists, not recreated"; default: case NOTMUCH_STATUS_LAST_STATUS: return "Unknown error status value"; |