Index
Modules:
badresults
.
API symbols
`$`:
badresults: proc `$`[T: not void; E](self: Result[T, E]): string
badresults: proc `$`[E](self: Result[void, E]): string
`==`:
badresults: proc `==`(a, b: Result): bool
err:
badresults: proc err[T, E](self: var Result[T, E]; e: E)
badresults: proc err[T, E](R: typedesc[Result[T, E]]; e: E): Result[T, E]
error:
badresults: proc error[T, E](self: Result[T, E]): E
get:
badresults: template get[T, E](self: var Result[T, E]): untyped
badresults: template get[T, E](self: Result[T, E]; otherwise: T): untyped
badresults: template get[T: not void; E](self: Result[T, E]): untyped
badresults: template get[E](self: Result[void, E])
isErr:
badresults: proc isErr(self: Result): bool
isOk:
badresults: proc isOk(self: Result): bool
ok:
badresults: proc ok[T, E](self: var Result[T, E]; v: T)
badresults: proc ok[E](self: var Result[void, E])
badresults: proc ok[T, E](R: typedesc[Result[T, E]]; v: T): Result[T, E]
badresults: proc ok[E](R: typedesc[Result[void, E]]): Result[void, E]
Result:
badresults: object Result
ResultError:
badresults: type ResultError
toException:
badresults: template toException[E](err: E): ResultError[E]
unsafeGet:
badresults: proc unsafeGet[T, E](self: var Result[T, E]): var T
badresults: proc unsafeGet[T, E](self: Result[T, E]): T
badresults: proc unsafeGet[E](self: Result[void, E])
value:
badresults: template value[T, E](self: Result[T, E]): T
badresults: template value[T, E](self: var Result[T, E]): T
badresults: template value[E](self: Result[void, E])
badresults: template value[E](self: var Result[void, E])
valueOr:
badresults: template valueOr[T, E](self: Result[T, E]; def: T): T