Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Exceptions #21

Open
dsuess opened this issue Sep 7, 2016 · 1 comment
Open

Custom Exceptions #21

dsuess opened this issue Sep 7, 2016 · 1 comment

Comments

@dsuess
Copy link
Owner

dsuess commented Sep 7, 2016

Currently, we only work with assertions/standard exceptions. For better error tracking, it would be better to define mpnum specific exceptions.

@milan-hl
Copy link
Collaborator

milan-hl commented Sep 8, 2016

Should we collect a list candidates for exceptions? Things that come to my mind:

  • LengthError: Number of sites of two or more MPAs does not agree
  • PhysicalLegError: Dimension (or number, depending on setting) of physical legs of two or more MPAs do not agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants