-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
codingcoding (not mbqc-related) issue and proposalscoding (not mbqc-related) issue and proposalsdiscussion neededgood first issueGood for newcomersGood for newcomers
Description
Currently, most of the exceptions raised in :class: graphix.pattern.Pattern are of type ValueError. This generality hinders robust exception handling.
It may be worth introducing a new PatternError.
To be discussed:
- Exception class
RunnabilityErrorintroduced in Fix #193: addPattern.check_runnability#364 should most likely inherit fromPatternError. PatternErrorcould have a limited number of possible reasons (implemented viaEnumas inRunnabilityErrororFlowError) or just be a generic handle as inOpenGraphError.
Metadata
Metadata
Assignees
Labels
codingcoding (not mbqc-related) issue and proposalscoding (not mbqc-related) issue and proposalsdiscussion neededgood first issueGood for newcomersGood for newcomers