Method
ToArrayOrError
static func ToArrayOrError<T, E>(self: IEnumerable<T>, errorFactory: Exception -> E) -> Result<T[], E>
Type: EnumerableOption<T>
Namespace: System.Linq
Assembly: Raven.Core.dll
Source file: LinqExtensions.rvn
Materializes the sequence as an array and maps any exception to an error.