public class Result<V,E extends Exception>
| Modifier and Type | Class and Description |
|---|---|
static class |
Result.Companion |
static class |
Result.Failure<V,E extends Exception> |
static class |
Result.Success<V,E extends Exception> |
| Modifier and Type | Field and Description |
|---|---|
static Result.Companion |
Companion |
| Modifier and Type | Method and Description |
|---|---|
V |
component1() |
E |
component2() |
<X> X |
fold(kotlin.jvm.functions.Function1<? super V,? extends X> success,
kotlin.jvm.functions.Function1<? super E,? extends X> failure) |
V |
get() |
public static Result.Companion Companion