Skip to content

Commit

Permalink
Fix Scaladoc
Browse files Browse the repository at this point in the history
  • Loading branch information
jcazevedo committed May 3, 2019
1 parent be94389 commit 49a07bb
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -49,11 +49,11 @@ trait CoproductHint[T] {
def tryNextOnFail(name: String): Boolean

/**
* Returns a failed `ConfigReader` result scoped into the context of a `ConfigCursor` at the sealed family option,
* representing the failure to disambiguate the config value.
* Returns a non empty list of failures scoped into the context of a `ConfigCursor`, representing the failure to read
* an option from the config value.
*
* @param cur a `ConfigCursor` at the sealed family option
* @return a failed `ConfigReader` result scoped into the context of a `ConfigCursor`.
* @return a non empty list of reader failures.
*/
def noOptionFound(cur: ConfigCursor): ConfigReaderFailures =
ConfigReaderFailures(cur.failureFor(NoValidCoproductChoiceFound(cur.value)))
Expand Down

0 comments on commit 49a07bb

Please sign in to comment.