summaryrefslogtreecommitdiff
path: root/universe/src/NotFound.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-11-15 00:37:54 +0100
committerAki <please@ignore.pl>2022-11-15 00:37:54 +0100
commit5d0cba2b45aa30226ba72231b35424d404a5eec1 (patch)
tree4b157bbb550534eec38b1a0b45e2cbd10ce43fcb /universe/src/NotFound.cpp
parent4f3de714cd04ee5d99167f415843573d6bbd9f62 (diff)
downloadkurator-5d0cba2b45aa30226ba72231b35424d404a5eec1.zip
kurator-5d0cba2b45aa30226ba72231b35424d404a5eec1.tar.gz
kurator-5d0cba2b45aa30226ba72231b35424d404a5eec1.tar.bz2
Implemented naive skeleton for types repository in universe
Diffstat (limited to 'universe/src/NotFound.cpp')
-rw-r--r--universe/src/NotFound.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/universe/src/NotFound.cpp b/universe/src/NotFound.cpp
new file mode 100644
index 0000000..e5a4109
--- /dev/null
+++ b/universe/src/NotFound.cpp
@@ -0,0 +1,27 @@
+#include <kurator/universe/NotFound.h>
+
+#include <string>
+#include <utility>
+
+
+namespace kurator
+{
+namespace universe
+{
+
+
+NotFound::NotFound(std::string _id) :
+ id {std::move(_id)}
+{
+}
+
+
+const char*
+NotFound::what() const noexcept
+{
+ return "item not found in repository"; // what is not found? use that id
+}
+
+
+} // namespace universe
+} // namespace kurator