summaryrefslogtreecommitdiff
path: root/universe/src/NotFound.cpp
diff options
context:
space:
mode:
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