diff options
author | John Estabrook <jestabro@vyos.io> | 2022-12-06 14:08:51 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2022-12-12 09:17:20 -0600 |
commit | e65fd4853996375687bd3094ec8338a1ad317b3d (patch) | |
tree | ae586d381941b614ead459230d436ada36b973ec /python/vyos/opmode.py | |
parent | 6a6493b11a33f878d7700b8e4ac7c65bb5edb8d2 (diff) | |
download | vyos-1x-e65fd4853996375687bd3094ec8338a1ad317b3d.tar.gz vyos-1x-e65fd4853996375687bd3094ec8338a1ad317b3d.zip |
opmode: T4770: add CommitInProgess error
Diffstat (limited to 'python/vyos/opmode.py')
-rw-r--r-- | python/vyos/opmode.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/python/vyos/opmode.py b/python/vyos/opmode.py index 9dba8d30f..5ff768859 100644 --- a/python/vyos/opmode.py +++ b/python/vyos/opmode.py @@ -51,6 +51,12 @@ class IncorrectValue(Error): """ pass +class CommitInProgress(Error): + """ Requested operation is valid, but not possible at the time due + to a commit being in progress. + """ + pass + class InternalError(Error): """ Any situation when VyOS detects that it could not perform an operation correctly due to logic errors in its own code |