getCurrentSession().flatMap { it.toEither { } }.ha...
# arrow
p
getCurrentSession().flatMap { it.toEither { } }.handleErrorWith { createSession() }