If variable is required, raise an error if missing
Merge pull request #2 from sionide21/raise_error_if_missing

If variable is required, raise an error if missing