| 1 | // |
| 2 | // Error.cpp |
| 3 | // |
| 4 | // Library: Redis |
| 5 | // Package: Redis |
| 6 | // Module: Error |
| 7 | // |
| 8 | // Implementation of the Error class. |
| 9 | // |
| 10 | // Copyright (c) 2015, Applied Informatics Software Engineering GmbH. |
| 11 | // and Contributors. |
| 12 | // |
| 13 | // SPDX-License-Identifier: BSL-1.0 |
| 14 | // |
| 15 | |
| 16 | |
| 17 | #include "Poco/Redis/Error.h" |
| 18 | |
| 19 | |
| 20 | namespace Poco { |
| 21 | namespace Redis { |
| 22 | |
| 23 | |
| 24 | Error::Error() |
| 25 | { |
| 26 | } |
| 27 | |
| 28 | |
| 29 | Error::Error(const std::string& message): _message(message) |
| 30 | { |
| 31 | } |
| 32 | |
| 33 | |
| 34 | Error::~Error() |
| 35 | { |
| 36 | } |
| 37 | |
| 38 | |
| 39 | } } // namespace Poco::Redis |
| 40 | |