Added error message to the error view