multiple_result library
Classes
Extension Types
- AsyncResult
- A zero-cost wrapper around Future<Result<S, E>> using Dart extension types.
Constants
Typedefs
-
AsyncResultOf<
S, E> = AsyncResult< S, E> - Alias for AsyncResult.
-
ErrorCallback<
W, E> = W Function(E error) -
ResultOf<
S, E> = Result< S, E> - Alias for Result
-
SuccessCallback<
W, S> = W Function(S success)
Exceptions / Errors
-
SuccessResultNotFoundException<
S, E> - Exception thrown when attempting to access a success value that doesn't exist.