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

Exception hierarchy #79

Open
photonbit opened this issue Jul 11, 2023 · 0 comments
Open

Exception hierarchy #79

photonbit opened this issue Jul 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@photonbit
Copy link

Is your feature request related to a problem? Please describe.

Inside cdsapi, all exceptions are instances of Exception, making the exception handling of the users of the library tricky, depending on making matches with the message of the exception.

Describe the solution you'd like

Instead, an exception hierarchy could be added to the project. Last week I have been working with cdsapi for a project and this week I might be collaborating this the main repo making PRs if it is alive to incorporate some improvements, like the exceptions hierarchy:

e5a88de

Describe alternatives you've considered

No response

Additional context

No response

Organisation

No response

@photonbit photonbit added the enhancement New feature or request label Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant