Added error message class