Type alias Result<T, E>

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

A Union Type that represents either a success (Ok) or error (Err) state.

Type Parameters

  • T

  • E

See

Ok, Err

Generated using TypeDoc