| Exceptions::Exceptions | ( | const int & | Error_index, |
| const std::string & | filePath, | ||
| const int & | lnNum, | ||
| const int & | current_index, | ||
| const std::string & | current_char, | ||
| const std::string & | number_str | ||
| ) |
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 |
| number_str | if an exeption was caused by a number, the number which caused an exception to be thrown |