aboutsummaryrefslogtreecommitdiffstats
path: root/deluge/error.py
diff options
context:
space:
mode:
authorLibravatarDaniel Baumann <daniel@debian.org>2025-11-30 18:42:09 +0100
committerLibravatarDaniel Baumann <daniel@debian.org>2025-11-30 18:42:09 +0100
commit972d390bfe0052bbad2c3ca2dca24ec0a3c3facd (patch)
tree14d7c9acb0839f0fdb3ce66bfb6cce7a206fe727 /deluge/error.py
parent75f9d1cc69872d4b8dbcd13145447ae1c6c2879a (diff)
Adding upstream version 2.2.1~dev0+20250824.upstream/2.2.1_dev0+20250824
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'deluge/error.py')
-rw-r--r--deluge/error.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/deluge/error.py b/deluge/error.py
index d542dc2..03253b6 100644
--- a/deluge/error.py
+++ b/deluge/error.py
@@ -94,3 +94,10 @@ class AuthManagerError(_UsernameBasedPasstroughError):
class LibtorrentImportError(ImportError):
pass
+
+
+class InvalidHashError(_ClientSideRecreateError):
+ def __init__(self, message, method):
+ super().__init__(message)
+ self.method = method
+ self.message = message