@Immutable public final class ValidationE<T> extends Validation<T,SphereClientException>
SphereClientException
.error, value
Modifier and Type | Method and Description |
---|---|
static <T> ValidationE<T> |
error(SphereClientException exception)
Creates a new erroneous result.
|
static <T> ValidationE<T> |
success(T value)
Creates a new successful result.
|
public static <T> ValidationE<T> success(T value)
public static <T> ValidationE<T> error(SphereClientException exception)