Decode the value in config
at path
as type A
.
Decode the value in config
at path
as type A
.
Create a new FromConf
by mapping f
over a decoded value.
Create a new FromConf
by mapping f
over a decoded value.
If an exception is thrown in in the call to f
, the exception will
be rethrown as a WrongType
, specifying the path and cause.
Used internally to simplify calling
FromConf.derive
by only requiring a single type param, inferring the HList representation.