I played with it, and doing it that way meant the message didn't include the solution to the problem because the class shouldn't know the ENV variable name.