blob: e5a4109ae139e5a84ca0a6cc1f6b8af08f54f240 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
|