public static <T> Context<T> fail(AbstractError error) { Context<T> context = new Context<T>(); context.error = error; return context; }
public static <T> Context<T> ok(T value) { Context<T> context = new Context<T>(); context.value = value; return context; }