toEither

fun toEither(): Either<CoreFailure, <Error class: unknown class>>