Method

ToListOrError

static func ToListOrError<T, E>(self: IEnumerable<T>, errorFactory: Exception -> E) -> Result<List<T>, E>

Type: EnumerableOption<T>
Namespace: System.Linq
Assembly: Raven.Core.dll
Source file: LinqExtensions.rvn

Materializes the sequence as a list and maps any exception to an error.