failure

fun <E, T> failure(reason: T): TransformationResult<E, T>(source)

Creates a TransformationFailure object with the given reason.