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

More detailed Exception #296

Open
maartenschermer opened this issue Jan 9, 2025 · 0 comments
Open

More detailed Exception #296

maartenschermer opened this issue Jan 9, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@maartenschermer
Copy link
Collaborator

I'm always frustrated when I try to download a non-existing file from iRODS and run into a general ValueError. For instance, if i'm downloading a list of objects, I want to have the option of distinguishing between "file not found" and other errors, so I can continue with downloading the rest of the files in the list, rather than having to fall back to a more general exception handler.

I would like a FileNotFoundError to be raised, rather than the current ValueError, when a file is not found.

@maartenschermer maartenschermer added the enhancement New feature or request label Jan 9, 2025
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

2 participants