Browse Source

Add ConflictConfigOption Exception

Change-Id: I448cf979fb87de7fe57325cca579b47b43c37f36
Kien Nguyen 1 year ago
parent
commit
d8e39cd8a6
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      kuryr/lib/exceptions.py

+ 7
- 0
kuryr/lib/exceptions.py View File

@@ -126,3 +126,10 @@ class DriverNotEnabledException(KuryrException):
126 126
     This exception is thrown when kuryr tries to load a specific binding driver
127 127
     but the driver is not enabled.
128 128
     """
129
+
130
+
131
+class ConflictConfigOption(KuryrException):
132
+    """Exception represents when the conflict config happens.
133
+
134
+    The existed option conflicts with the given option.
135
+    """

Loading…
Cancel
Save