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

Remove all custom Exception classes, use built-in Exceptions instead #193

Merged
merged 1 commit into from
Aug 15, 2020

Conversation

clue
Copy link
Member

@clue clue commented Aug 15, 2020

Remove all custom Exception classes, use built-in Exceptions instead. For instance, instead of throwing an Graphp\Graph\Exception\InvalidArgumentException, a method will now throw an InvalidArgumentException. The custom Exception classes did not provide any functionality over the built-in Exception classes and in fact already implemented the built-in ones, so the BC impact should be limited.

The Graphp\Graph\Exception\NegativeCycleException is the only Exception class that used to provide any functionality. However, this is better off in the graphp/algorithms package instead as per #119.

@clue clue added this to the v1.0.0 milestone Aug 15, 2020
@clue clue merged commit 9927b0e into graphp:master Aug 15, 2020
@clue clue deleted the remove-exceptions branch August 15, 2020 21:51
llaville added a commit to llaville/graph-uml that referenced this pull request Sep 10, 2020
clue added a commit to clue-labs/graphviz that referenced this pull request Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant