I guess the standard set of get + fetch + fetch! would be the best solution. It 
would be the least surprising since it works like this nearly everywhere.

Michał.

On 29 Dec 2016, 22:58 +0100, José Valim <[email protected]>, 
wrote:
> Please open up an issue. We just need to figure out if the name will be 
> get_env! or fetch_env! (I could argue any).
>
>
>
> José Valim
> www.plataformatec.com.br
> Skype: jv.ptec
> Founder and Director of R&D
>
> > On Thu, Dec 29, 2016 at 10:15 PM, Matthew Wean <[email protected]> 
> > wrote:
> > > I would love to have a raising version too. As it stands, I often get 
> > > confusing errors deep in the system because of missing ENV variables. Is 
> > > this something we can add?
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "elixir-lang-core" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an 
> > > email to [email protected].
> > > To view this discussion on the web visit 
> > > https://groups.google.com/d/msgid/elixir-lang-core/f66bbf70-e99d-48ef-8c4c-d1bfae031c88%40googlegroups.com.
> > > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "elixir-lang-core" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4KG2Ws1E9Yc63_5%3DB%3DT4t5DC5pp3uPAfS07Ta6SebQ%3DxQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/31fd9ba4-6e24-44c5-a856-9366449a065b%40Spark.
For more options, visit https://groups.google.com/d/optout.

Reply via email to