Improve exception expressiveness #262
Labels
backend
Issue pertaining to the Python backend (tqec package)
enhancement
New feature or request, may not be in the task flow
help wanted
Extra attention is needed
QOL
Improves usability and functionality
question
Further information is requested
Is your feature request related to a problem? Please describe.
For the moment, the code base only include one exception,
TQECException
, that is raised with a descriptive error message whenever an exception need to be raised. It might be beneficial to split that unique exception into several more expressive ones.What is you opinion on that? If you agree, what should be, in your opinion, the rule to decide whether a new exception inheriting from
TQECException
should be included or an existing generic exception (such asTQECException
) should be used?The text was updated successfully, but these errors were encountered: