def validatedBy[H, ERR, EVERY <: (Every)](fn: G => Or[H, EVERY[ERR]])(implicit cbf: BuildFrom[ITRONCE[G], H, ITRONCE[H]]): Or[ITRONCE[H], Every[ERR]]
Maps a IterableOnce of Gs into Ors of type HOrEVERY[ERR] (where EVERY is some subtype of Every) using the passed function fn, then combines the resulting Ors into a single Or of type COLL[H]OrEvery[ERR].
Maps a IterableOnce of Gs into Ors of type HOrEVERY[ERR] (where EVERY is some subtype of Every) using the passed function fn, then combines the resulting Ors into a single Or of type COLL[H]OrEvery[ERR].
Note: this process implemented by this method is sometimes called a “traverse.”
For more information and examples, see the Using validatedBy section of the main documentation for class Or.