Convert a String => Option
into a String => Option[ConfigValueLocation] => Either
such that after application
- Some(t)
becomes _ => Right(t)
- None
becomes location => Left(CannotConvert(value, type, "", location)
Convert a String => Option
into a String => Option[ConfigValueLocation] => Either
such that after application
- Some(t)
becomes _ => Right(t)
- None
becomes location => Left(CannotConvert(value, type, "", location)
Convert a String => Try
into a String => Option[ConfigValueLocation] => Either
such that after application
- Success(t)
becomes _ => Right(t)
- Failure(e)
becomes location => Left(CannotConvert(value, type, e.getMessage, location)
Convert a String => Try
into a String => Option[ConfigValueLocation] => Either
such that after application
- Success(t)
becomes _ => Right(t)
- Failure(e)
becomes location => Left(CannotConvert(value, type, e.getMessage, location)
(Since version 0.10.2) Use ConfigReader.Result.zipWith
instead
(Since version 0.10.2) Use ConfigReader.Result.fail
instead