type alias Result
thefrontside/effectionA value representing either a successful outcome or an error.
Result<T> is used in APIs when you want to make explicit flow control
decisions about success/failure rather than allowing them to
automatically percolate.
A successful result has the shape { ok: true, value } and a failed result
has the shape { ok: false, error }.
Type Parameters
T