Throw an error if Eval is passed an invalid expression.