Nvir.CastError exception (Nvir v0.13.2)

View Source

Exception defining an invalid cast. For instance with this dotenv file:

NOT_AN_INT=some string

Calling Nvir.env!/2 with the :integer! caster will raise an Nvir.CastError exception.

Nvir.env!("NOT_AN_INT", :integer!)