Procs
Templates
template get[E](self: Result[void, E])
- Raise error as an Exception if self.isErr. See also: Option.get Source Edit
template get[T, E](self: Result[T, E]; otherwise: T): untyped
- Fetch value of result if set, or raise error as an Exception See also: Option.get Source Edit
template toException[E](err: E): ResultError[E]
- Source Edit