aboutsummaryrefslogtreecommitdiffstats
path: root/vicn/core/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'vicn/core/exception.py')
-rw-r--r--vicn/core/exception.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/vicn/core/exception.py b/vicn/core/exception.py
index d7422723..977fc8ad 100644
--- a/vicn/core/exception.py
+++ b/vicn/core/exception.py
@@ -37,3 +37,10 @@ class SetupException(VICNException): pass
class VICNListException(VICNException): pass
class ResourceNotFound(VICNException): pass
+
+class VICNWouldBlock(VICNException):
+ """
+ Exception called when a request would block and the user explicitely
+ required non-blocking behaviour
+ """
+ pass