comparison src/core/exceptions.py @ 1535:c9ef16de3f13

core: more robust plugins loading: - avoid stopping loading remaining plugins when a plugin raise an error - new error exceptions.MissingModule allows to detect a missing third party module, and to give instructions to get it - error during instanciation are catched too
author Goffi <goffi@goffi.org>
date Tue, 29 Sep 2015 17:54:23 +0200
parents faa1129559b8
children b57b4683dc33
comparison
equal deleted inserted replaced
1534:a5e0393a06cd 1535:c9ef16de3f13
52 52
53 class UnknownGroupError(Exception): 53 class UnknownGroupError(Exception):
54 pass 54 pass
55 55
56 56
57 class MissingModule(Exception):
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
60 pass
61
62
57 class NotFound(Exception): 63 class NotFound(Exception):
58 pass 64 pass
59 65
60 66
61 class DataError(Exception): 67 class DataError(Exception):