Exceptions::Exceptions | ( | const int & | Error_index, |
const std::string & | filePath, | ||
const int & | lnNum, | ||
const int & | current_index, | ||
const std::string & | current_char | ||
) |
Exceptions constructor.
Error_index | the index of the error in the enum 'EXCEPTIONS_MSG' |
filePath | name of the file where exception was thrown from |
lnNum | line where exception was thrown from |
current_index | index where exception was thrown from |
current_char | the character which caused an exception to be thrown |