ExpectedFactory(androidJvm)

Expected factory creates value and error expected instances.

class ExpectedFactory(androidJvm)

Functions

createError
Link copied to clipboard

Create an expected error.

open fun <E, V> createError(error: E): Expected<E, V>
createNone
Link copied to clipboard

Create a void value.

open fun <E> createNone(): Expected<E, None>
createValue
Link copied to clipboard

Create an expected value.

open fun <E, V> createValue(value: V): Expected<E, V>