Interpreter prototype alpha
c++ interpreter for make believe language
 
Loading...
Searching...
No Matches

◆ createErrorMessage()

std::string Exceptions::createErrorMessage ( const int &  Error_index)
private

determines which error message must be thrown depending on the index passed in which corresponds to the index's in the enum 'EXCEPTIONS_MSG'

Parameters
Error_indexthe index which corresponds to the index's in the enum 'EXCEPTIONS_MSG'
Returns
std::string