result library

Classes

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

Properties

fromThrowable Result<T, E> Function<T, E>(T fn(), {E errorFn(Object?)?})
final

Functions

err<T, E>(E error) Err<T, E>
ok<T, E>(T value) Ok<T, E>