Type alias Result<E, T>

Result<E, T>: Err<E> | Ok<T>

The type represents either error Err or success Ok. Note that the order of type arguments is E, T, because it is useful to place the primary type parameter on the last.

Type Parameters

  • E

  • T

Generated using TypeDoc