CLOVIS
05/18/2020, 10:52 PMconnectToInternet(): Either<InternetError, String>
• A printToClient(msg: String): Either<PrintError, String>
And be able to compose them into composed(): Either<Union2<InternetError, PrintError>, String>?
I think this would be a very convenient pattern, since to my knowledge using Either with a sealed class is not very convenient for long chains of operations since multiple kind of errors can happen?