initial commit
This commit is contained in:
9
exception.cpp
Normal file
9
exception.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "exception.h"
|
||||
|
||||
|
||||
Exception::Exception(const std::string &msg) {
|
||||
cause = msg;
|
||||
}
|
||||
|
||||
|
||||
const char* Exception::what() const noexcept { return cause.c_str(); }
|
||||
Reference in New Issue
Block a user