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

refactor(exceptions): raise NotImplementedError where appropriate #2213

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

mwtoews
Copy link
Contributor

@mwtoews mwtoews commented Jun 7, 2024

This PR raises NotImplementedError where appropriate, for example abstract methods. Several instances where a comment or message printing "not implemented" are changed to raise this exception instead.

A few other exceptions from flopy/mbase.py are reclassified to raise TypeError where some of the expected types are missing.

@wpbonelli wpbonelli merged commit 0d9947e into modflowpy:develop Jun 7, 2024
24 checks passed
@mwtoews mwtoews deleted the notimplementederror branch June 7, 2024 12:44
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

Successfully merging this pull request may close these issues.

2 participants