]> git.notmuchmail.org Git - notmuch/blobdiff - lib/database.cc
lib: add NOTMUCH_STATUS_PATH_ERROR
[notmuch] / lib / database.cc
index 78a24f7e0a43fe6fc9787c0d28ad4947d26280f4..e726f629dc89af2f1657125530d6889b9be02651 100644 (file)
@@ -342,6 +342,8 @@ notmuch_status_to_string (notmuch_status_t status)
        return "Unsupported operation";
     case NOTMUCH_STATUS_UPGRADE_REQUIRED:
        return "Operation requires a database upgrade";
+    case NOTMUCH_STATUS_PATH_ERROR:
+       return "Path supplied is illegal for this function";
     default:
     case NOTMUCH_STATUS_LAST_STATUS:
        return "Unknown error status value";