diff options
Diffstat (limited to 'universe/src/NotFound.cpp')
-rw-r--r-- | universe/src/NotFound.cpp | 27 |
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 |