redis-py
redis-py copied to clipboard
how to try except
with redis I used
except redis.RedisError as e:
how can I do the same but with upstash_redis?
If I use except Redis.RedisError as e: I get:
AttributeError: type object 'Redis' has no attribute 'RedisError'