consolidate all repos to one for archive
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// 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<char *>(ret.c_str());
|
||||
return c;
|
||||
}
|
||||
|
||||
std::string UnparseableDateException::toString() {
|
||||
return "Unparseable date: " + message;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user