From 87bcb37d3f226f2047018fd9638af108acfbdd82 Mon Sep 17 00:00:00 2001 From: Christopher Dignam Date: Fri, 2 Apr 2021 15:06:03 -0400 Subject: [PATCH] [redis] add more exceptions (#5174) * [redis] add more exceptions --- stubs/redis/redis/exceptions.pyi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stubs/redis/redis/exceptions.pyi b/stubs/redis/redis/exceptions.pyi index e0cd08a83..05f09ab64 100644 --- a/stubs/redis/redis/exceptions.pyi +++ b/stubs/redis/redis/exceptions.pyi @@ -14,4 +14,8 @@ class WatchError(RedisError): ... class NoScriptError(ResponseError): ... class ExecAbortError(ResponseError): ... class ReadOnlyError(ResponseError): ... +class NoPermissionError(ResponseError): ... class LockError(RedisError, ValueError): ... +class LockNotOwnedError(LockError): ... +class ChildDeadlockedError(Exception): ... +class AuthenticationWrongNumberOfArgsError(ResponseError): ...