Integer type for config options
Integers itself comes without parsing
parse(any) :: {:ok, integer} | :error
Integers itself comes without parsing.
For strings call to String.to_integer/1 attempted. If no success, :error returned.
String.to_integer/1
:error
Booleans treated as 1 for true and 0 for false.
1
0
For any other values :error returned