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

Replace RuntimeError Exceptions with Subclassed Exceptions #6

Open
j9ac9k opened this issue Sep 12, 2022 · 0 comments
Open

Replace RuntimeError Exceptions with Subclassed Exceptions #6

j9ac9k opened this issue Sep 12, 2022 · 0 comments

Comments

@j9ac9k
Copy link
Collaborator

j9ac9k commented Sep 12, 2022

Currently, when the registration objects are initialized, it checks to see if the GeoData objects have had their data "prepped". If not, it raises a RuntimeError, with a message about ensuring the prep method on the GeoData object was run.

As other code in the stack can also raise RuntimeError's, we should likely create our own exception that users can specifically try and catch.

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

1 participant