From 1a5996ac4bc95990ac1e7489c6de1a89c617d894 Mon Sep 17 00:00:00 2001 From: Goffi Date: Fri, 3 Apr 2020 18:02:27 +0200 Subject: [PATCH] core (exceptions): new MissingPlugin exception: it is used when a feature needs an inactive or unavailable plugin. --- sat/core/exceptions.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sat/core/exceptions.py b/sat/core/exceptions.py index c0e506fb..7646f4fd 100644 --- a/sat/core/exceptions.py +++ b/sat/core/exceptions.py @@ -60,6 +60,11 @@ class MissingModule(Exception): pass +class MissingPlugin(Exception): + """A SàT plugin needed for a feature/method is missing""" + pass + + class NotFound(Exception): pass