Helper to get environment variables with error throwing logic
Parameters:
Name | Type | Description |
---|---|---|
name |
Name/key of the environment variable | |
isMandatory |
Whether it should throw an error if it's not defined. Default to true. |