changeset 3248:5d67502bdc8c

core (exceptions): new MissingPlugin exception: it is used when a feature needs an inactive or unavailable plugin.
author Goffi <goffi@goffi.org>
date Fri, 03 Apr 2020 18:02:27 +0200
parents f981c0e99220
children f16c96c7a91a
files sat/core/exceptions.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sat/core/exceptions.py	Wed Apr 01 23:46:46 2020 +0200
+++ b/sat/core/exceptions.py	Fri Apr 03 18:02:27 2020 +0200
@@ -60,6 +60,11 @@
     pass
 
 
+class MissingPlugin(Exception):
+    """A SàT plugin needed for a feature/method is missing"""
+    pass
+
+
 class NotFound(Exception):
     pass