added custom exception for undefined env variables
changed raise exception to fail
Merge pull request #4 from farukaydin/undefined-env-variables

added custom exception for undefined env variables