Get an environment variable or throw an error if it is not set.
The key of the environment variable
The value of the environment variable
Error if the environment variable is not set
Get an environment variable or throw an error if it is not set.