differ-core / com.differ.differcore.models / Either

Either

sealed class Either<out T : Any>

Result of methods which can end with some error.

Types

Error

Result of error ends methods.

data class Error : Either<Nothing>

Success

Result of success ends methods.

data class Success<out T : Any> : Either<T>