Method
ToListOrException
func ToListOrException<T>() -> Result<List<T>, Exception>
Declaring type: EnumerableOption<T>
Namespace: System.Linq
Assembly: Raven.Core.dll
Source file: LinqExtensions.rvn
Extension from EnumerableOption<T>.ToListOrException
Materializes the sequence as a list and captures any exception as an error.
Parameters
| Name | Type | Description |
|---|---|---|
self |
IEnumerable<T> |
Return value
Result<List<T>, Exception>