toIorNel

fun <A, B> Ior<A, B>.toIorNel(): IorNel<A, B>(source)

Given an Ior with an error type A, returns an IorNel with the same error type. Wraps the original error in a NonEmptyList so that it can be combined with an IorNel in a Raise DSL which operates on one.