errors.py | raw changeset files shortlog |
1.1 --- a/errors.py Thu Oct 06 19:28:43 2016 +0200 1.2 +++ b/errors.py Fri Oct 07 21:36:08 2016 +0200 1.3 @@ -78,11 +78,12 @@ 1.4 1.5 pass 1.6 1.7 -class DeduceError(NodeProcessingError): 1.8 +class DeduceError(ProgramError): 1.9 1.10 "An error during the deduction process." 1.11 1.12 - pass 1.13 + def __str__(self): 1.14 + return "Error in deduction: %s" % self.message 1.15 1.16 class TranslateError(NodeProcessingError): 1.17