aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Exception.cpp
blob: 3217169891ae11f099a9ff26fc6d743e0f1d27f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "Exception.h"

using namespace crepe;
using namespace std;

const char * Exception::what() const noexcept { return error.c_str(); }

Exception::Exception(const string & msg) {
	this->error = msg;
}