21 lines
405 B
C++

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