diff options
| author | David Bremner <david@tethera.net> | 2021-08-24 08:17:15 -0700 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-09-04 17:07:19 -0700 |
| commit | 9ae4188610dc21101fe9bdeb158854fc7c63463e (patch) | |
| tree | 128ce04297f525995feb10867e53c80a50fa768f /lib/notmuch.h | |
| parent | e3b1a0a6a59691f6be9fd0cb3b0d01bb9a7fe2b7 (diff) | |
lib: add new status code for query syntax errors.
This will help provide more meaningful error messages without special
casing on the client side.
Diffstat (limited to 'lib/notmuch.h')
| -rw-r--r-- | lib/notmuch.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/notmuch.h b/lib/notmuch.h index 2f1ee951..546643e8 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -221,6 +221,10 @@ typedef enum _notmuch_status { */ NOTMUCH_STATUS_DATABASE_EXISTS, /** + * Syntax error in query + */ + NOTMUCH_STATUS_BAD_QUERY_SYNTAX, + /** * Not an actual status value. Just a way to find out how many * valid status values there are. */ |
