`people.sephandle()` raises `InvalidHandleError`,
[diaspy.git] / diaspy / errors.py
index 35f1cf92c6ce9b782bea0051269f563b2f95f7a9..d4eac5fd791019fe2742eb8bbf442dc575889fb7 100644 (file)
@@ -22,6 +22,12 @@ class UserError(DiaspyError):
     pass
 
 
+class InvalidHandleError(DiaspyError):
+    """Raised when invalid handle is found.
+    """
+    pass
+
+
 class SearchError(DiaspyError):
     """Exception raised when something related to search goes wrong.
     """