comparison 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
comparison
equal deleted inserted replaced
3247:f981c0e99220 3248:5d67502bdc8c
55 55
56 56
57 class MissingModule(Exception): 57 class MissingModule(Exception):
58 # Used to indicate when a plugin dependence is not found 58 # Used to indicate when a plugin dependence is not found
59 # it's nice to indicate when to find the dependence in argument string 59 # it's nice to indicate when to find the dependence in argument string
60 pass
61
62
63 class MissingPlugin(Exception):
64 """A SàT plugin needed for a feature/method is missing"""
60 pass 65 pass
61 66
62 67
63 class NotFound(Exception): 68 class NotFound(Exception):
64 pass 69 pass