public class Failable<O> extends Object
Modifier and Type | Method and Description |
---|---|
static <O> Failable<O> |
error(String error) |
O |
get() |
String |
getError() |
boolean |
isFail() |
static <O> Failable<O> |
ok(O data) |
Copyright © 2017. All Rights Reserved.