// // Created by Nik on 20/05/2022. // #include "UnparseableDateException.h" UnparseableDateException::UnparseableDateException(std::string message) : message(message){} const char* UnparseableDateException::what() const noexcept { std::string ret = "Unparseable date: " + message; char* c = const_cast(ret.c_str()); return c; } std::string UnparseableDateException::toString() { return "Unparseable date: " + message; }