From 2ac28861e2a94bef73713fbb78b00ec9beaf4189 Mon Sep 17 00:00:00 2001
From: Daniil Baturin <daniil@baturin.org>
Date: Tue, 10 Jan 2023 15:29:47 +0000
Subject: opmode: T2546: add UnsupportedOperation to op mode errors

---
 python/vyos/opmode.py | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'python/vyos')

diff --git a/python/vyos/opmode.py b/python/vyos/opmode.py
index 17a9ab581..19c476b1c 100644
--- a/python/vyos/opmode.py
+++ b/python/vyos/opmode.py
@@ -45,6 +45,10 @@ class PermissionDenied(Error):
     """
     pass
 
+class UnsupportedOperation(Error):
+    """ Requested operation is technically valid but is not implemented yet. """
+    pass
+
 class IncorrectValue(Error):
     """ Requested operation is valid, but an argument provided has an
         incorrect value, preventing successful completion.
-- 
cgit v1.2.3