Added error messages for failed exp evaluation.