diff sat/core/exceptions.py @ 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 84b0c8b4dee0
children a8c7e5cef0cb
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