let's say I have a `UserServiceAlgerbra` for worki...
# arrow
s
let's say I have a
UserServiceAlgerbra
for working with users.... If I use
suspend
for my methods (instead of
IO
), what would be the equivalent of
raiseError
in case of duplicate users for
suspend fun createUser(user: User): Unit
?
p
return an Either
👍 1