You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, sorry if this is a repost, but I can't find a precise answer in the code nor docs.
How do I distinguish between command errors when using rediscala?
My use case is that I have code like this
val client: redis.RedisClient = ???
client.get[V](keyStr)
.map(v => /* something*/)
.recover {
//TODO: put more cases here to capture fine-grained errors
case NonFatal(t) => /* something else*/
}
and I would like to be able to apply different logging/defaults for various cases, for instance: operation timeout.
Is the behaviour in case of error (as in: exceptions used to fail the future) documented somewhere? I would appreciate any hints. Thanks a lot
The text was updated successfully, but these errors were encountered:
Hi, sorry if this is a repost, but I can't find a precise answer in the code nor docs.
How do I distinguish between command errors when using rediscala?
My use case is that I have code like this
and I would like to be able to apply different logging/defaults for various cases, for instance: operation timeout.
Is the behaviour in case of error (as in: exceptions used to fail the future) documented somewhere? I would appreciate any hints. Thanks a lot
The text was updated successfully, but these errors were encountered: