-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
Description
Two different general errors exist within linbox and they are both used:
linbox/util/debug.h:class LinBoxError(which inherits fromNotImplementedYet)linbox/util/error.h:class LinboxError(declined to things likeLinboxMathInconsistentSystem)
Which one to keep?
About errors' use cases, it looks like we need:
LinBoxError(or some generic error)PreconditionFailedNotImplementedYetInvalidInput(for readers)InconsistentSystem
but others are left unused (LinboxMathDivZero,LinBoxFailure, ...)
Moreover, while cleaning, in debug.h it looks like there is a concept of Exception (BadInputException, LINBOX_RAISE_EXCEPTION etc.) that is never used.