<@U72C3TBDH> also explained there but since your E...
# arrow
r
@streetsofboston also explained there but since your Either is fixed to Throwable we just need an extension function in the Fx syntax for
Either<Throwable, A>.getOrRaiseError()
that automatically raises the error if it's a left or binds if right:
Copy code
suspend operator fun <A, B> Either<A, B>.not(): A =
  !fold({ it.raiseError<A>()}, { it.just() })