summaryrefslogtreecommitdiff
path: root/src/database
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-02-11 23:29:58 +0100
committerlouiz’ <louiz@louiz.org>2018-02-11 23:29:58 +0100
commitd70554143554f1a4ed3d225d30a6e49227f40fc1 (patch)
tree2410b3b7c031920943c9293faacdeec3b74ba455 /src/database
parent0280343ced6c520700c3ca508e2d04c6b512d319 (diff)
downloadbiboumi-d70554143554f1a4ed3d225d30a6e49227f40fc1.tar.gz
biboumi-d70554143554f1a4ed3d225d30a6e49227f40fc1.tar.bz2
biboumi-d70554143554f1a4ed3d225d30a6e49227f40fc1.tar.xz
biboumi-d70554143554f1a4ed3d225d30a6e49227f40fc1.zip
Send a item-not-found error when the “after” value is not in the archive
Diffstat (limited to 'src/database')
-rw-r--r--src/database/database.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/database/database.hpp b/src/database/database.hpp
index 810af16..fb62c34 100644
--- a/src/database/database.hpp
+++ b/src/database/database.hpp
@@ -22,6 +22,7 @@ class Database
{
public:
using time_point = std::chrono::system_clock::time_point;
+ struct RecordNotFound: public std::exception {};
struct Uuid: Column<std::string> { static constexpr auto name = "uuid_"; };