Error handling for different cases #2643
Unanswered
pratik151192
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Looking at the error file in the Redis package, only redis.Nil is exposed as an explicit error when the key doesn't exist. However, how can I figure out whether the error was a timeout or server exception apart from parsing the message. I believe the previous versions had a Timeout type that can be checked against which is no longer available. Similarly, some SDKs have a RedisCommandException for any illegal arguments. Any help is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions