diff options
author | Roey Prat <roey.prat@redislabs.com> | 2020-07-13 19:41:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-13 19:41:29 +0300 |
commit | cec8e77b510eae7720cdf7258deb0a0085a9af12 (patch) | |
tree | 172717a4f504e13d4990e4faf9819ee80640679d /redis/exceptions.py | |
parent | 10fb0c5814709fd6dca1fc666fbfd8b172fb08bc (diff) | |
download | redis-py-cec8e77b510eae7720cdf7258deb0a0085a9af12.tar.gz |
Support for loading, unloading and listing Redis Modules (#1360)
* Support for loading, unloading and listing Redis Modules
* minor fixes for flake
* unit test for module list - only the empty use case
* ModuleError should inherit from ResponseError rather than RedisError
Co-authored-by: Vamsi Atluri <vamc19@gmail.com>
Diffstat (limited to 'redis/exceptions.py')
-rw-r--r-- | redis/exceptions.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/redis/exceptions.py b/redis/exceptions.py index 760af66..ca2ad87 100644 --- a/redis/exceptions.py +++ b/redis/exceptions.py @@ -57,6 +57,10 @@ class NoPermissionError(ResponseError): pass +class ModuleError(ResponseError): + pass + + class LockError(RedisError, ValueError): "Errors acquiring or releasing a lock" # NOTE: For backwards compatability, this class derives from ValueError. |