Adds new error message to documentation, changes error message variable name according to error message convention